/* Bonus Form CSS - Renk Değişkenleri ile */

/* Renk değişkenleri artık dynamic-colors.php dosyasından yükleniyor */

/* Genel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
 
}

/* Container */
.container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1200px;
    width: 100%;
    min-height: 600px;
    margin: 0 auto;
    padding: 20px;
    /* Güvenlik katmanından sonra ortalama için */
    position: relative;
}

/* Header Buttons */
.header-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.header-btn {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-btn:hover {
    background-color: var(--bg-hover);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.header-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-primary);
}

.header-btn.active:hover {
    background-color: var(--primary-hover);
}

/* Main Content Grid */
.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
    /* Layout bozulmasını engelle */
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* Talep listesi sayfasında info panel gizliyken tam genişlik */
.main-content.requests-only {
    grid-template-columns: 1fr;
    /* Requests panel için özel düzenleme */
    justify-content: center;
}

/* Form Panel */
.form-panel {
    background-color: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

/* Requests Panel */
.requests-panel {
    background-color: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    /* Layout bozulmasını engelle */
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.requests-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 15px;
}

.requests-header h2 {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
}

.requests-icon {
    color: var(--primary-color);
    font-size: 24px;
    margin-right: 12px;
}

.requests-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-secondary);
    background-color: var(--bg-input);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.stat-item i {
    color: var(--primary-color);
}

.stat-item span {
    font-weight: 600;
    color: var(--text-primary);
}

.requests-content {
    margin-top: 20px;
}

.table-container {
    background-color: var(--bg-input);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    /* Layout bozulmasını engelle */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* DataTables Stilleri */
.dataTables_wrapper {
    padding: 20px;
    /* Layout bozulmasını engelle */
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.dataTables_length,
.dataTables_filter,
.dataTables_info,
.dataTables_paginate {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.dataTables_length select,
.dataTables_filter input {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    margin: 0 5px;
}

.dataTables_length select:focus,
.dataTables_filter input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.1);
}

table.dataTable {
    background-color: transparent;
    border-collapse: collapse;
    width: 100% !important;
    /* Layout bozulmasını engelle */
    max-width: 100%;
    table-layout: auto; /* Fixed yerine auto kullan */
}

table.dataTable thead th {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    padding: 15px 12px;
    font-weight: 600;
    text-align: left;
}

/* Tablo sütun genişlikleri */
table.dataTable thead th:nth-child(1) { /* Bonus Adı */
    width: 25%;
    min-width: 150px;
}

table.dataTable thead th:nth-child(2) { /* Talep Tarihi */
    width: 20%;
    min-width: 120px;
}

table.dataTable thead th:nth-child(3) { /* Durum */
    width: 15%;
    min-width: 100px;
}

table.dataTable thead th:nth-child(4) { /* İşlem Bilgisi */
    width: 40%;
    min-width: 200px;
}

table.dataTable tbody td {
    background-color: var(--bg-input);
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 12px;
    vertical-align: middle;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Tablo sütun genişlikleri - tbody */
table.dataTable tbody td:nth-child(1) { /* Bonus Adı */
    width: 25%;
    min-width: 150px;
}

table.dataTable tbody td:nth-child(2) { /* Talep Tarihi */
    width: 20%;
    min-width: 120px;
}

table.dataTable tbody td:nth-child(3) { /* Durum */
    width: 15%;
    min-width: 100px;
}

table.dataTable tbody td:nth-child(4) { /* İşlem Bilgisi */
    width: 40%;
    min-width: 200px;
    max-width: 300px;
    white-space: normal;
    line-height: 1.4;
}

table.dataTable tbody tr:hover td {
    background-color: var(--bg-hover);
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-badge.pending {
    background-color: rgba(245, 158, 11, 0.2);
    color: var(--secondary-color);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-badge.approved {
    background-color: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.rejected {
    background-color: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-badge.processing {
    background-color: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Action Buttons */
.action-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 12px;
}

.action-btn:hover {
    background-color: var(--primary-color);
    color: var(--text-primary);
    border-color: var(--primary-color);
}

/* Pagination */
.dataTables_paginate {
    margin-top: 20px;
    text-align: center;
}

.dataTables_paginate .pagination {
    display: inline-flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
    align-items: center;
}

.dataTables_paginate .paginate_button {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 6px 12px;
    margin: 0 2px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-block;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    min-width: 32px;
    text-align: center;
    line-height: 1.2;
}

.dataTables_paginate .paginate_button:hover {
    background-color: var(--primary-color);
    color: var(--text-primary);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.dataTables_paginate .paginate_button.current,
.dataTables_paginate .paginate_button.active {
    background-color: var(--primary-color);
    color: var(--text-primary);
    border-color: var(--primary-color);
    font-weight: 600;
}

.dataTables_paginate .paginate_button.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    border-color: var(--border-color);
}

.dataTables_paginate .paginate_button.disabled:hover {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    border-color: var(--border-color);
    transform: none;
    opacity: 0.6;
}

.dataTables_paginate .paginate_button .page-link {
    color: inherit;
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
}

.dataTables_paginate .paginate_button.previous,
.dataTables_paginate .paginate_button.next {
    font-weight: 600;
}

.dataTables_paginate .paginate_button.previous:before {
    content: "← ";
}

.dataTables_paginate .paginate_button.next:after {
    content: " →";
}

/* Responsive Table */
@media (max-width: 768px) {
    .requests-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .requests-header h2 {
        font-size: 1.3rem;
        margin: 0;
    }
    
    .requests-stats {
        width: 100%;
        flex-direction: column;
        gap: 8px;
    }
    
    .stat-item {
        justify-content: space-between;
        padding: 8px 12px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 6px;
        font-size: 0.85rem;
    }
    
    .requests-panel {
        padding: 15px;
        margin: 0;
        border-radius: 10px;
    }
    
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .dataTables_wrapper {
        padding: 10px;
    }
    
    .dataTables_length,
    .dataTables_filter {
        margin-bottom: 10px;
    }
    
    .dataTables_length select,
    .dataTables_filter input {
        padding: 6px 8px;
        font-size: 0.8rem;
        width: auto;
        min-width: 80px;
    }
    
    table.dataTable {
        min-width: 600px;
        font-size: 0.8rem;
    }
    
    table.dataTable thead th,
    table.dataTable tbody td {
        padding: 8px 6px;
        white-space: nowrap;
    }
    
    /* Mobilde sütun genişlikleri */
    table.dataTable thead th:nth-child(1),
    table.dataTable tbody td:nth-child(1) { /* Bonus Adı - mobilde daha dar */
        width: 20%;
        min-width: 120px;
        max-width: 150px;
    }
    
    table.dataTable thead th:nth-child(2),
    table.dataTable tbody td:nth-child(2) { /* Talep Tarihi */
        width: 25%;
        min-width: 100px;
    }
    
    table.dataTable thead th:nth-child(3),
    table.dataTable tbody td:nth-child(3) { /* Durum */
        width: 20%;
        min-width: 80px;
    }
    
    table.dataTable thead th:nth-child(4),
    table.dataTable tbody td:nth-child(4) { /* İşlem Bilgisi */
        width: 35%;
        min-width: 180px;
    }
    
    .status-badge {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    .dataTables_info {
        font-size: 0.8rem;
        margin-top: 10px;
    }
    
    .dataTables_paginate {
        margin-top: 10px;
    }
    
    .dataTables_paginate .pagination {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }
    
    .dataTables_paginate .paginate_button {
        padding: 4px 6px;
        font-size: 0.7rem;
        margin: 0 1px;
        min-width: 28px;
    }
}

/* Tablet Düzeltmeleri */
@media (max-width: 1024px) and (min-width: 769px) {
    .container {
        padding: 15px;
    }
    
    .main-content {
        gap: 25px;
    }
    
    .requests-panel {
        padding: 25px;
    }
    
    .requests-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .requests-stats {
        flex-direction: row;
        gap: 15px;
    }
    
    .stat-item {
        font-size: 0.9rem;
    }
    
    .dataTables_wrapper {
        padding: 15px;
    }
    
    table.dataTable {
        font-size: 0.9rem;
    }
    
    table.dataTable thead th,
    table.dataTable tbody td {
        padding: 10px 8px;
    }
    
    .status-badge {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
}

/* Çok küçük ekranlar için */
@media (max-width: 480px) {
    .container {
        padding: 5px;
    }
    
    .requests-panel {
        padding: 10px;
        border-radius: 8px;
    }
    
    .requests-header h2 {
        font-size: 1.1rem;
    }
    
    .requests-stats {
        gap: 6px;
    }
    
    .stat-item {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .dataTables_wrapper {
        padding: 8px;
    }
    
    table.dataTable {
        font-size: 0.75rem;
        min-width: 500px;
    }
    
    table.dataTable thead th,
    table.dataTable tbody td {
        padding: 6px 4px;
    }
    
    /* Çok küçük ekranlarda sütun genişlikleri */
    table.dataTable thead th:nth-child(1),
    table.dataTable tbody td:nth-child(1) { /* Bonus Adı - çok küçük ekranlarda daha da dar */
        width: 18%;
        min-width: 100px;
        max-width: 120px;
    }
    
    table.dataTable thead th:nth-child(2),
    table.dataTable tbody td:nth-child(2) { /* Talep Tarihi */
        width: 22%;
        min-width: 90px;
    }
    
    table.dataTable thead th:nth-child(3),
    table.dataTable tbody td:nth-child(3) { /* Durum */
        width: 18%;
        min-width: 70px;
    }
    
    table.dataTable thead th:nth-child(4),
    table.dataTable tbody td:nth-child(4) { /* İşlem Bilgisi */
        width: 42%;
        min-width: 160px;
    }
    
    .status-badge {
        font-size: 0.65rem;
        padding: 3px 6px;
    }
    
    .dataTables_length select,
    .dataTables_filter input {
        padding: 4px 6px;
        font-size: 0.75rem;
    }
}

.form-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    gap: 10px;
}

.form-icon {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 8px;
}

.form-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.form-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
    opacity: 0.8;
}

/* Form Stilleri */
.bonus-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select {
    background-color: var(--bg-input);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 16px;
    color: var(--text-primary);
    transition: all var(--transition-normal);
    outline: none;
}

.form-group input::placeholder {
    color: var(--text-placeholder);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.form-group select option {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    padding: 8px;
}

/* Submit Button */
.submit-btn {
    background-color: var(--primary-color);
    color: var(--text-primary);
    border: none;
    border-radius: var(--radius-md);
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Info Panel */
.info-panel {
    background-color: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    position: relative;
}

.info-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.info-header h2 {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
}

.info-icon {
    color: var(--primary-color);
    font-size: 24px;
    margin-right: 12px;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.close-btn:hover {
    background-color: var(--bg-hover);
    color: var(--primary-color);
}

/* Info Content */
.info-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.info-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Warning Box */
.warning-box {
    background-color: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.warning-icon {
    color: var(--secondary-color);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.warning-box span {
    color: var(--text-warning);
    font-size: 14px;
    line-height: 1.5;
}

/* SweetAlert2 Koyu Tema */
.swal-dark {
    background-color: #1f2937 !important;
    border: 1px solid #374151 !important;
}

.swal-dark-title {
    color: #ffffff !important;
}

.swal-dark-content {
    color: #d1d5db !important;
}

/* Toast Bildirimleri */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    z-index: 9999;
    min-width: 300px;
    max-width: 500px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-weight: 500;
    box-shadow: var(--shadow-xl);
    transition: all 0.3s ease;
    opacity: 0;
    display: none;
    align-items: center;
    gap: 12px;
}

.toast.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    display: flex;
}

.toast.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.toast.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.toast.warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.toast.info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.toast.loading {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.toast i {
    font-size: 18px;
    flex-shrink: 0;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Hızlı loading animasyonu */
.loading-overlay-spinner.fast {
    animation: spin 0.8s ease-in-out infinite;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-overlay.show {
    opacity: 1;
    visibility: visible;
}

.loading-overlay-content {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    text-align: center;
    min-width: 200px;
}

.loading-overlay-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
    margin: 0 auto 15px;
}

.loading-overlay-text {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
}

/* SweetAlert2 Özel Stiller */
.swal2-popup-custom {
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-xl) !important;
    border: 1px solid var(--border-color) !important;
}

.swal2-title-custom {
    color: var(--text-primary) !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
}

.swal2-content-custom {
    color: var(--text-secondary) !important;
    font-size: 0.95rem !important;
}

/* SweetAlert2 Toast Özel Stiller */
.swal2-toast {
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-lg) !important;
    backdrop-filter: blur(10px) !important;
}

.swal2-toast .swal2-title {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
}

.swal2-toast .swal2-content {
    font-size: 0.85rem !important;
    margin-top: 0.5rem !important;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 20px;
        /* Mobile'da layout bozulmasını engelle */
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    .swal2-toast {
        width: 90% !important;
        margin: 0 auto !important;
    }
    
    .container {
        padding: 10px;
    }
    
    .header-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .header-btn {
        width: 100%;
        justify-content: center;
    }
    
    .form-panel,
    .info-panel {
        padding: 20px;
    }
    
    .form-header h2,
    .info-header h2 {
        font-size: 20px;
    }
    
    .form-group input,
    .form-group select {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .submit-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
     
    }
    
    .form-panel,
    .info-panel {
        padding: 15px;
    }
    
    .form-header,
    .info-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .bonus-form {
        gap: 20px;
    }
}

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-panel {
    animation: slideIn 0.6s ease-out;
}

.info-panel {
    animation: slideIn 0.6s ease-out 0.2s both;
}

/* Loading Spinner */
.spinner {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid var(--text-primary);
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hover Efektleri */
.form-group input:hover,
.form-group select:hover {
    border-color: var(--bg-hover);
}

/* Focus States */
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Disabled States */
.form-group input:disabled,
.form-group select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: var(--bg-primary);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bg-hover);
}

/* Info Panel Warning */
.info-panel-warning {
    display: flex;
    align-items: center;
    color: #fbbf24;
    background-color: #161616;
    padding: 12px;
    border-radius: 8px;
    margin-top: auto;
    margin-top: 16px;
}

.info-panel-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    flex-shrink: 0;
    color: #fbbf24;
}

.info-panel-warning p {
    color: #fbbf24;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
}

.info-panel-warning p strong {
    font-weight: 600;
}

.info-panel-warning p em {
    font-style: italic;
}

.info-panel-warning p ul {
    margin: 8px 0;
    padding-left: 20px;
}

.info-panel-warning p li {
    margin: 4px 0;
}

/* Tablo Stilleri */
.info-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.875rem;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.info-content table thead {
    background-color: #161616;
    border-bottom: 1px solid #333;
}

.info-content table thead th {
    padding: 12px 16px;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--text-primary);
    border-right: 1px solid #333;
}

.info-content table thead th:last-child {
    border-right: none;
}

.info-content table tbody tr {
    background-color: #1a1a1a;
    border-bottom: 1px solid #333;
}

.info-content table tbody tr:nth-child(even) {
    background-color: #161616;
}

.info-content table tbody tr:last-child {
    border-bottom: none;
}

.info-content table tbody td {
    padding: 12px 16px;
    text-align: center;
    color: var(--text-primary);
    border-right: 1px solid #333;
}

.info-content table tbody td:last-child {
    border-right: none;
}

.info-content table tbody td.text-blue-400 {
    color: #60a5fa;
    font-weight: 500;
}

/* Responsive tablo */
@media (max-width: 768px) {
    .info-content table {
        font-size: 0.75rem;
    }
    
    .info-content table thead th,
    .info-content table tbody td {
        padding: 8px 12px;
    }
}

/* AquaSentinel Güvenlik Katmanı Stilleri */
.security-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(10px);
}

/* Container'ı başlangıçta gizle ama data-bridge attribute'u görünür kalsın */
.container[data-bridge="aquasentinel"] {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
    /* Layout'u korumak için visibility kullan */
    visibility: hidden;
    /* Ortalama sorununu çözmek için */
    margin: 0 auto;
    position: relative;
    left: auto;
    right: auto;
}

.container[data-bridge="aquasentinel"].security-verified {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.security-container {
    text-align: center;
    padding: 40px;
    background: rgba(26, 26, 26, 0.95);
    border-radius: 20px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.3);
    max-width: 500px;
    width: 90%;
    animation: securityFadeIn 0.8s ease-out;
}

.security-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    animation: securityPulse 2s infinite;
}

.security-container h2 {
    color: var(--text-primary);
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.security-message {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.security-spinner {
    margin: 30px 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(220, 38, 38, 0.2);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: securitySpin 1s linear infinite;
    margin: 0 auto;
}

.security-status {
    margin-top: 20px;
}

#security-status-text {
    color: var(--text-warning);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 16px;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

/* Güvenlik animasyonları */
@keyframes securityFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes securityPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes securitySpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Güvenlik durumu renkleri */
.security-status.success #security-status-text {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.security-status.error #security-status-text {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}

.security-status.warning #security-status-text {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
}

/* Responsive güvenlik katmanı */
@media (max-width: 768px) {
    .security-container {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .security-icon {
        font-size: 3rem;
    }
    
    .security-container h2 {
        font-size: 1.5rem;
    }
    
    .security-message {
        font-size: 1rem;
    }
}

/* Cooldown buton stilleri */
.submit-btn.cooldown {
    background: linear-gradient(135deg, #6b7280, #4b5563) !important;
    color: #d1d5db !important;
    cursor: not-allowed !important;
    opacity: 0.7 !important;
    transform: none !important;
    box-shadow: none !important;
}

.submit-btn.cooldown:hover {
    background: linear-gradient(135deg, #6b7280, #4b5563) !important;
    transform: none !important;
    box-shadow: none !important;
}

.submit-btn.cooldown i {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}
