/* WTR User Dashboard Styles - Enhanced */
/* Main Dashboard Container */
.wtr-dashboard {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #333;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Dashboard Container Layout */
.wtr-dashboard-container {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Sidebar Styles */
.wtr-sidebar {
    flex: 0 0 320px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

/* Main Content Area */
.wtr-main-content {
    flex: 1;
    min-width: 0;
}

/* Section Headers */
.wtr-sidebar h3,
.wtr-main-content h3 {
    color: #2c3e50;
    margin: 0 0 20px 0;
    font-size: 1.4em;
    font-weight: 600;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

/* Sidebar Sections */
.wtr-profile-update,
.wtr-referral-info,
.wtr-wallet-info,
.wtr-wallet-update {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e9ecef;
}

.wtr-sidebar > div:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Form Styles */
.wtr-profile-form,
.wtr-wallet-form,
.wtr-withdraw-form,
.wtr-kyc-upload-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Label Styles */
.wtr-profile-form label,
.wtr-wallet-form label,
.wtr-withdraw-form label,
.wtr-kyc-upload-form label {
    font-weight: 500;
    color: #555;
    margin-bottom: 5px;
    font-size: 0.9em;
}

/* Input Styles */
.wtr-profile-form input,
.wtr-profile-form select,
.wtr-wallet-form input,
.wtr-withdraw-form input,
.wtr-kyc-upload-form input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.wtr-profile-form input:focus,
.wtr-profile-form select:focus,
.wtr-wallet-form input:focus,
.wtr-withdraw-form input:focus,
.wtr-kyc-upload-form input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* File Input Specific Styles */
.wtr-kyc-upload-form input[type="file"] {
    padding: 8px;
    border: 2px dashed #ddd;
    background: #f9f9f9;
    cursor: pointer;
}

.wtr-kyc-upload-form input[type="file"]:hover {
    border-color: #3498db;
    background: #f0f8ff;
}

/* Submit Button Styles */
.wtr-profile-form input[type="submit"],
.wtr-wallet-form input[type="submit"],
.wtr-withdraw-form input[type="submit"],
.wtr-kyc-upload-form input[type="submit"],
#wtr-edit-wallet-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 10px;
}

.wtr-profile-form input[type="submit"]:hover,
.wtr-wallet-form input[type="submit"]:hover,
.wtr-withdraw-form input[type="submit"]:hover,
.wtr-kyc-upload-form input[type="submit"]:hover,
#wtr-edit-wallet-btn:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

/* Special Button for Edit Wallet */
#wtr-edit-wallet-btn {
    background: #95a5a6;
    font-size: 13px;
    padding: 8px 16px;
    margin-top: 15px;
}

#wtr-edit-wallet-btn:hover {
    background: #7f8c8d;
}
.wtr-panel {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.wallet-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.wallet-form input[type="text"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
}

.wallet-form button {
    background: #0073aa;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.wallet-form button:hover {
    background: #005a8c;
}

/* Referral Section */
.wtr-referral-info p {
    margin: 10px 0;
    line-height: 1.6;
}

.wtr-referral-info strong {
    color: #2c3e50;
    font-weight: 600;
}

.wtr-referral-info input[readonly] {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 8px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

/* Wallet Info Section */
.wtr-wallet-info p {
    margin: 12px 0;
    padding: 10px;
    background: white;
    border-radius: 6px;
    border-left: 4px solid #3498db;
}

.wtr-wallet-info strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Main Content Sections */
.wtr-transactions,
.wtr-withdrawals,
.wtr-rainy-info {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Table Styles */
.wtr-transactions table,
.wtr-withdrawals table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.wtr-transactions table th,
.wtr-withdrawals table th {
    background: #3498db;
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.wtr-transactions table td,
.wtr-withdrawals table td {
    padding: 12px 15px;
    border-bottom: 1px solid #f1f2f6;
    font-size: 14px;
}

.wtr-transactions table tr:last-child td,
.wtr-withdrawals table tr:last-child td {
    border-bottom: none;
}

.wtr-transactions table tr:hover,
.wtr-withdrawals table tr:hover {
    background: #f8f9fa;
}

/* Message Styles */
.wtr-registration-message {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 500;
}

.wtr-registration-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wtr-registration-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* KYC Upload Instructions - kompakte për panelin wallet */
.wtr-kyc-upload-instructions {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 8px;
    padding: 12px 15px;
    margin-top: 15px;
    margin-bottom: 0;
    font-size: 13px;
    max-width: 100%;
}

.wtr-kyc-upload-instructions h3 {
    color: #1565c0;
    font-size: 16px;
    margin-bottom: 8px;
}

.wtr-kyc-upload-instructions p {
    color: #0d47a1;
    margin-bottom: 10px;
    line-height: 1.4;
    font-size: 13px;
}

.wtr-kyc-upload-form input[type="file"],
.wtr-kyc-upload-form input[type="submit"] {
    width: 100%;
    padding: 6px 8px;
    margin-bottom: 10px;
    font-size: 13px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

/* Rainy Info Section */
.wtr-rainy-info p {
    margin: 15px 0;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #e74c3c;
}

.wtr-rainy-info strong {
    color: #c0392b;
    font-weight: 600;
}
.gift-box, .chat-box {
    border: 2px solid #000;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    background-color: #fff;
    text-align: center;
}

.gift-box h3, .chat-box h3 {
    font-size: 22px;
    color: #111;
    margin-bottom: 10px;
}

.gift-box form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    margin-top: 15px;
}

.gift-box input[type="text"],
.gift-box input[type="number"] {
    padding: 8px;
    width: 80%;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.gift-box button {
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.gift-box button:hover {
    background: #005a8c;
}
/* Responsive Design */
@media (max-width: 768px) {
    .wtr-dashboard {
        padding: 15px;
    }
    
    .wtr-dashboard-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .wtr-sidebar {
        flex: none;
        order: 2;
    }
    
    .wtr-main-content {
        order: 1;
    }
    
    .wtr-transactions table,
    .wtr-withdrawals table {
        font-size: 12px;
    }
    
    .wtr-transactions table th,
    .wtr-withdrawals table th,
    .wtr-transactions table td,
    .wtr-withdrawals table td {
        padding: 8px;
    }
    
    .wtr-sidebar {
        padding: 20px;
    }
    
    .wtr-transactions,
    .wtr-withdrawals,
    .wtr-rainy-info {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .wtr-dashboard {
        padding: 10px;
    }
    
    .wtr-sidebar,
    .wtr-transactions,
    .wtr-withdrawals,
    .wtr-rainy-info {
        padding: 15px;
    }
    
    .wtr-profile-form input,
    .wtr-profile-form select,
    .wtr-wallet-form input,
    .wtr-withdraw-form input,
    .wtr-kyc-upload-form input {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    .wtr-dashboard {
        color: #e9ecef;
    }
    
    .wtr-sidebar,
    .wtr-transactions,
    .wtr-withdrawals,
    .wtr-rainy-info {
        background: #2c3e50;
        border-color: #34495e;
    }
    
    .wtr-sidebar h3,
    .wtr-main-content h3 {
        color: #ecf0f1;
    }
    
    .wtr-profile-form input,
    .wtr-profile-form select,
    .wtr-wallet-form input,
    .wtr-withdraw-form input,
    .wtr-kyc-upload-form input {
        background: #34495e;
        border-color: #4a5f7a;
        color: #ecf0f1;
    }
    
    .wtr-wallet-info p,
    .wtr-rainy-info p {
        background: #34495e;
    }
    
    .wtr-transactions table th,
    .wtr-withdrawals table th {
        background: #3498db;
    }
    
    .wtr-transactions table td,
    .wtr-withdrawals table td {
        background: #34495e;
        border-color: #4a5f7a;
    }
}