body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #282c34; /* Ana arka plan rengi */
    color: #abb2bf; /* Genel metin rengi */
    display: flex; /* user-wrapper'ı tam ekran yapmak için */
}

/* Tüm içeriği saran ana container */
.user-wrapper {
    display: flex;
    width: 100%;
    min-height: 100vh;
    transition: margin-left 0.3s ease; /* İçerik için geçiş */
}

/* Kullanıcı Sidebar Stilleri */
.user-sidebar {
    width: 250px;
    background-color: #21252b;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.3);
    flex-shrink: 0;
    overflow-y: auto;
    position: relative; /* Toggle butonu için */
    transition: width 0.3s ease; /* Sidebar genişliği için geçiş */
}

.user-sidebar-header {
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #3e4451;
    padding-bottom: 15px;
}

.user-sidebar-header .user-brand {
    color: #61afef; /* Marka rengi */
    text-decoration: none;
    font-size: 1.8em;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.user-sidebar-header .user-sidebar-username {
    color: #a3be8c; /* Kullanıcı adı rengi */
    font-size: 1.1em;
    margin: 5px 0;
}

.user-sidebar-header .user-sidebar-balance,
.user-sidebar-header .user-sidebar-purchase-balance {
    color: #d8dee9; /* Bakiye metin rengi */
    font-size: 0.9em;
    margin: 3px 0;
}

.user-sidebar-header span {
    font-weight: bold;
    color: #ebcb8b; /* Bakiye değeri rengi */
}

.user-sidebar-menu {
    list-style: none;
    padding: 0;
}

.user-sidebar-menu li {
    margin-bottom: 8px;
}

.user-sidebar-menu a {
    display: block;
    color: #abb2bf;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.user-sidebar-menu a:hover,
.user-sidebar-menu a.active {
    background-color: #3e4451;
    color: #eceff4;
}

.user-sidebar-menu a i {
    margin-right: 10px;
    width: 20px; /* İkonların hizalanması için */
    text-align: center;
}
.toggle-sidebar-btn {
    background: none;
    border: none;
    color: #d8dee9;
    font-size: 1.5em;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    transition: transform 0.3s ease;
}
.toggle-sidebar-btn i.fas.fa-bars {
    transform: rotate(0deg); /* Başlangıç durumu */
}

.user-wrapper.collapsed .toggle-sidebar-btn i.fas.fa-bars {
    transform: rotate(90deg); /* Daraltıldığında ikon dönüşü */
}

.user-wrapper.collapsed .user-sidebar {
    width: 70px; /* Daraltılmış genişlik */
}

.user-wrapper.collapsed .user-sidebar-header .user-brand,
.user-wrapper.collapsed .user-sidebar-header .user-sidebar-username,
.user-wrapper.collapsed .user-sidebar-header .user-sidebar-balance,
.user-wrapper.collapsed .user-sidebar-header .user-sidebar-purchase-balance,
.user-wrapper.collapsed .user-sidebar-menu .menu-category {
    display: none; /* Metinleri gizle */
}

.user-wrapper.collapsed .user-sidebar-menu li a {
    justify-content: center; /* İkonları ortala */
    padding: 10px 0;
    text-align: center;
}
.user-wrapper.collapsed .user-sidebar-menu li a i {
    margin-right: 0; /* İkonun yanındaki boşluğu kaldır */
}
.user-wrapper.collapsed .user-sidebar-menu li a span:not(.notification-badge) {
    display: none; /* İkon yanındaki yazıları gizle */
}

.user-wrapper.collapsed .user-content {
    margin-left: 0; /* Sidebar kaydığında içeriğin boşluğu olmasın */
    width: calc(100% - 70px); /* İçerik kalan genişliği kaplar */
}

/* Responsive düzenlemelerde küçük ekranlarda sidebar'ı gizleyip hamburger menüye geçmek daha iyi olabilir */
@media (max-width: 992px) {
    .user-wrapper.collapsed .user-sidebar {
        width: 0; /* Küçük ekranda tamamen gizle */
        padding: 0;
    }
    .user-wrapper.collapsed .user-content {
        width: 100%;
        margin-left: 0;
    }
    .toggle-sidebar-btn {
        position: fixed; /* Küçük ekranda sabitle */
        left: 10px;
        top: 10px;
        background-color: #21252b;
        border-radius: 5px;
    }
    .user-sidebar { /* Küçük ekranda varsayılan olarak daraltılmış olabilir */
        width: 0;
        overflow: hidden;
    }
    .user-wrapper.collapsed .user-sidebar {
         width: 0; /* Zaten 0 olduğu için tekrar etme */
    }
    .user-wrapper.collapsed .user-sidebar-header,
    .user-wrapper.collapsed .user-sidebar-menu {
        display: none;
    }
    /* Aktif hale gelince sidebar'ı tam genişlik göster */
    .user-wrapper:not(.collapsed) .user-sidebar {
        width: 250px;
        position: fixed;
        height: 100vh;
        z-index: 999;
    }
    .user-wrapper:not(.collapsed) .user-sidebar-header,
    .user-wrapper:not(.collapsed) .user-sidebar-menu {
        display: block;
    }
}
.menu-category {
    color: #88c0d0;
    font-size: 0.8em;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 15px;
    margin-bottom: 5px;
    padding: 5px 15px;
}

/* Kullanıcı İçerik Alanı Stilleri */
.user-content {
    flex-grow: 1; /* Kalan tüm alanı kapla */
    display: flex;
    flex-direction: column;
}

.user-navbar {
    background-color: #21252b;
    padding: 15px 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.user-navbar-title {
    color: #61afef;
    font-size: 1.5em;
    font-weight: bold;
}

.user-main-content {
    padding: 0 30px 30px 30px;
    flex-grow: 1;
}

.header {
    width: 100%;
    background-color: #21252b;
    padding: 15px 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.header h1 {
    margin: 0;
    color: #61afef;
    font-size: 24px;
}

.header nav a {
    color: #c678dd;
    text-decoration: none;
    margin-left: 15px;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.header nav a:hover {
    background-color: #3e4451;
}


.container {
    background-color: #21252b;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
}

h2 {
    color: #61afef;
    text-align: center;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #abb2bf;
}

textarea,
select,
input {
    width: calc(100% - 20px);
    padding: 10px;
    border: 1px solid #3e4451;
    border-radius: 4px;
    background-color: #3e4451;
    color: #abb2bf;
    font-size: 16px;
}

button {

    padding: 12px;
    background-color: #98c379;
    color: #21252b;
    border: none;
    border-radius: 4px;
    font-size: 17px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #8ac06c;
}

.message {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-size: 15px;
    text-align: center;
}

.message.success {
    background-color: #98c379;
    color: #21252b;
}

.message.error {
    background-color: #e06c75;
    color: #21252b;
}

p {
    text-align: center;
    margin-top: 20px;
    color: #abb2bf;
}

p a {
    color: #61afef;
    text-decoration: none;
}

p a:hover {
    text-decoration: underline;
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    margin-bottom: 10px;
}

ul li a {
    display: block;
    padding: 10px 15px;
    background-color: #3e4451;
    color: #61afef;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

ul li a:hover {
    background-color: #4a505b;
}
/* Dashboard'a özel stiller */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}
@media (min-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.card {
    background-color: #2e3440;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    text-align: center;
}
.card h3 {
    color: #88c0d0;
    margin-bottom: 15px;
}
.card button {
    background-color: #a3be8c;
    color: #2e3440;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}
.card button:hover:not(:disabled) {
    background-color: #b4d3a6;
}
.card button:disabled {
    background-color: #6a6e7a;
    cursor: not-allowed;
}
.cooldown-timer {
    font-size: 1.2em;
    margin-top: 10px;
    color: #ebcb8b;
}
.lucky-roll-results {
    margin-top: 15px;
    font-size: 1.1em;
    color: #d8dee9;
}
.lucky-roll-results span {
    font-weight: bold;
    color: #bf616a;
}
.balance-info {
    font-size: 1.1em;
    margin-bottom: 10px;
}
.balance-info strong {
    color: #a3be8c;
}
/* assets/css/style.css (veya admin.css, eğer ayrı bir admin teması kullanılıyorsa) */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #3e4451;
}
.data-table th, .data-table td {
    padding: 10px;
    border: 1px solid #21252b;
    text-align: left;
    color: #abb2bf;
}
.data-table th {
    background-color: #21252b;
    font-weight: bold;
    color: #61afef;
}
.data-table tr:nth-child(even) {
    background-color: #3e4451;
}
.data-table tr:hover {
    background-color: #4a505b;
}
.data-table a {
    color: #88c0d0;
    text-decoration: none;
}
.data-table a:hover {
    text-decoration: underline;
}
/* assets/css/style.css */
.button-back {
    display: inline-block;
    background-color: #61afef;
    color: #21252b;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}
.button-back:hover {
    background-color: #52a3e0;
}
/* Küçük ekranlar için responsive ayarlar */
@media (max-width: 992px) { /* Tablet boyutları için */
    .user-wrapper {
        flex-direction: column; /* Sidebar'ı üste al */
    }
    .user-sidebar {
        width: 100%;
        padding: 10px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.3);
        margin-bottom: 10px;
    }
    .user-sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: none;
        padding-bottom: 0;
    }
    .user-sidebar-header .user-brand {
        margin-bottom: 0;
        font-size: 1.5em;
    }
    .user-sidebar-header .user-sidebar-username,
    .user-sidebar-header .user-sidebar-balance,
    .user-sidebar-header .user-sidebar-purchase-balance {
        display: none; /* Küçük ekranlarda üstteki kullanıcı bilgilerini gizle */
    }
    .user-sidebar-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 10px;
    }
    .user-sidebar-menu li {
        margin: 5px;
    }
    .user-sidebar-menu a {
        padding: 8px 12px;
        font-size: 0.9em;
    }
    .menu-category {
        width: 100%;
        text-align: center;
        margin-top: 10px;
        margin-bottom: 5px;
    }
    .user-navbar {
        padding: 10px 20px;
        margin-bottom: 10px;
    }
    .user-main-content {
        padding: 0 20px 20px 20px;
    }
}
/* İstatistik Kutuları Stilleri */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.stat-card {
    background-color: #3e4451; /* Card background */
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    text-align: center;
    transition: transform 0.2s ease-in-out;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card .icon {
    font-size: 1.5em;
    color: #88c0d0; /* Icon color */
    margin-bottom: 10px;
}

.stat-card .value {
    font-size: 1.5em;
    font-weight: bold;
    color: #a3be8c; /* Value color */
    margin-bottom: 5px;
}

.stat-card .label {
    font-size: 0.9em;
    color: #abb2bf; /* Label color */
}

/* Genel tablo stilini de buraya taşımak isteyebilirsiniz veya style.css'te kalsın */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #3e4451;
}
.data-table th, .data-table td {
    padding: 10px;
    border: 1px solid #21252b;
    text-align: left;
    color: #abb2bf;
}
.data-table th {
    background-color: #21252b;
    font-weight: bold;
    color: #61afef;
}
.data-table tr:nth-child(even) {
    background-color: #3e4451;
}
.data-table tr:hover {
    background-color: #4a505b;
}
.data-table a {
    color: #88c0d0;
    text-decoration: none;
}
.data-table a:hover {
    text-decoration: underline;
}
/* public/assets/css/style.css (Mevcut stillerle birleştirilecek veya eklenecek) */

/* ... (Mevcut user-wrapper, user-sidebar vb. stiller) ... */

/* Offers Sayfası için Özel Stiller */
.offerwall-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center; /* Butonları ortaya hizala */
}

.offerwall-tab-button {
    background-color: #3e4451; /* Koyu gri */
    color: #abb2bf; /* Açık gri metin */
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s, color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px; /* Etiketler arası boşluk */
}

.offerwall-tab-button:hover {
    background-color: #4a505b; /* Hafif daha koyu hover */
    color: #eceff4;
}

.offerwall-tab-button.active {
    background-color: #61afef; /* Aktif buton rengi */
    color: #21252b; /* Aktif buton metin rengi */
    font-weight: bold;
}

.offerwall-tab-button .bonus-label {
    background-color: #a3be8c; /* Bonus etiketi yeşili */
    color: #21252b;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 0.75em;
    font-weight: normal;
}

.offerwall-tab-button .new-label {
    background-color: #ebcb8b; /* Yeni etiketi sarısı */
    color: #21252b;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 0.75em;
    font-weight: normal;
}

.offerwall-iframe-container {
    width: 100%;
    border: 1px solid #3e4451; /* Çerçeve */
    border-radius: 8px;
    overflow: hidden; /* Taşmayı engelle */
    background-color: #1e1e2e; /* Iframe yüklenirken arkaplan */
}

#offerwallIframe, #surveyIframe{
    width: 100%;
    height: 700px;
}

.warning-text {
    color: #ebcb8b; /* Sarımsı uyarı metni */
    text-align: center;
    margin-top: 15px;
}

/* responsive için tab butonları */
@media (max-width: 768px) {
    .offerwall-tabs {
        flex-direction: column;
        align-items: stretch;
    }
    .offerwall-tab-button {
        width: 100%;
        margin-bottom: 5px;
    }
}
.social-login-options {
    margin-top: 30px;
    border-top: 1px solid #30363d;
    padding-top: 25px;
}

.social-login-options p {
    margin-bottom: 15px;
    font-size: 0.9em;
    color: #8b949e;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #30363d;
    background-color: #161b22;
    color: #e6edf3;
    font-size: 1em;
}

.btn-social i {
    margin-right: 10px;
}

.btn-google { border-color: #db4437; color: #db4437; }
.btn-google:hover { background-color: #db4437; color: white; }
.btn-facebook { border-color: #1877f2; color: #1877f2; }
.btn-facebook:hover { background-color: #1877f2; color: white; }
.btn-steam { border-color: #171a21; color: #171a21; }
.btn-steam:hover { background-color: #171a21; color: white; }
.banner-ad-container {
display: flex;
justify-content: center;
align-items: center;
background-color: #1e1e2e;
border: 1px dashed #3e4451;
border-radius: 5px;
overflow: hidden;
margin: 20px 0; 
}
.banner-ad-container img, .banner-ad-container iframe {
max-width: 100%;
max-height: 100%;
display: block;
}
.social-share-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
    text-decoration: none;
    color: white;
    transition: background-color 0.2s ease;
    min-width: 120px;
}

.share-button i {
    margin-right: 8px;
}

.share-button.facebook { background-color: #3b5998; }
.share-button.facebook:hover { background-color: #2d4373; }

.share-button.twitter { background-color: #1da1f2; }
.share-button.twitter:hover { background-color: #0c85d0; }

.share-button.linkedin { background-color: #0077b5; }
.share-button.linkedin:hover { background-color: #005f8f; }

.share-button.email { background-color: #ea4335; } 
.share-button.email:hover { background-color: #d13023; }

.share-button.telegram { background-color: #0088cc; }
.share-button.telegram:hover { background-color: #006b9b; }

.share-button.whatsapp { background-color: #25d366; }
.share-button.whatsapp:hover { background-color: #1da851; }

.language-selector-wrapper {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    padding: 10px;
    background-color: #2e3440;
    border-radius: 8px;
}

.lang-button {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 5px;
    background-color: #3e4451;
    color: #abb2bf;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: bold;
    transition: background-color 0.2s, color 0.2s;
}

.lang-button:hover {
    background-color: #4a505b;
    color: #eceff4;
}

.lang-button.active {
    background-color: #61afef;
    color: #21252b;
}
