/* --- Dhanlaxmi Developer Main Stylesheet --- */

/* 1. Global & Font Styles */
body {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    background-color: #f0f4f8; /* Light gray-blue background */
}

/* 2. Color Palette */
.primary-text { color: #D97706; } /* Primary Orange */
.primary-bg { background-color: #D97706; } /* Primary Orange */
.primary-bg-hover:hover { background-color: #B45309; } /* Darker Orange for hover */

/* 3. Authentication Page Styles (Login/Register) */
.auth-card { background-color: #ffffff; }
.input-field {
    border: 1px solid #d1d5db;
    padding: 10px;
    border-radius: 8px;
    width: 100%;
    font-size: 13px;
    transition: all 0.2s ease-in-out;
}
.input-field:focus {
    outline: none;
    border-color: #D97706;
    box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.2);
}
.submit-btn {
    background-color: #D97706;
    color: white;
    padding: 12px;
    border-radius: 8px;
    width: 100%;
    font-weight: 500;
    transition: background-color 0.3s;
}
.submit-btn:hover { background-color: #B45309; }

/* 4. Notification Messages */
.message { padding: 12px; border-radius: 8px; margin-bottom: 1rem; text-align: center; }
.message.success { background-color: #d1fae5; color: #065f46; }
.message.error { background-color: #fee2e2; color: #991b1b; }

/* --- Member Dashboard Styles --- */

/* 5. Header */
.member-header {
    background-color: #ffffff;
    box-shadow: 0 3px 4px rgba(0,0,0,0.05);
}
.logout-btn {
    background-color: #FEF3C7;
    color: #92400E;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.4s ease;
}
.logout-btn:hover {
    background-color: #FDE68A;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* 6. Main Content Area */
.main-content {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* 7. General Cards */
.content-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.07);
}

/* 8. Slider/Banner Card */
.banner-card {
    height: 150px; /* Example height */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFF7ED; /* Light orange background */
}


}
.earnings-card .claim-btn:hover {
    background-color: #D97706;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

/* 10. Statistic Cards */
.stat-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid #e5e7eb;
}
.stat-card-title {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}
.stat-card-value {
    font-size: 18px;
    color: #1f2937;
    font-weight: 600;
}
.wallet-balance .stat-card-value {
    color: #D97706; /* Make wallet balance stand out */
    font-size: 20px;
}

/* 11. Referral Link Card */
.share-btn {
    background-color: #EDF2F7;
    color: #4A5568;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}
.share-btn:hover {
    background-color: #E2E8F0;
}

/* 12. Footer Navigation */
.member-footer {
    background-color: #ffffff;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.05);
}
.footer-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #6b7280; /* Default gray for inactive links */
    font-size: 13px;
    transition: color 0.5s ease;
}
.footer-link.active {
    color: #D97706; /* Orange for active link */
}
.footer-link:hover {
    color: #D97706; /* Orange on hover */
}


/* --- Profile Page --- */
.profile-header-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}
@media (min-width: 640px) { /* sm breakpoint */
    .profile-header-card {
        flex-direction: row;
        text-align: left;
    }
}
.profile-image-wrapper {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}
@media (min-width: 640px) {
    .profile-image-wrapper {
        margin-right: 1.5rem;
        margin-bottom: 0;
    }
}
.profile-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10%;
}
.card-title {
    font-size: 1.25rem; /* 20px */
    font-weight: 600;
    color: #1e293b; /* Gray-800 */
}
.card-subtitle {
    font-size: 0.875rem; /* 14px */
    color: #64748b; /* Gray-500 */
    margin-top: 0.25rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1rem;
}
.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #334155; /* Gray-700 */
}
.message-banner {
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
}
.hidden {
  display: none;
}

/* --- Team Page Accordion --- */
.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.accordion-item:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.accordion-header {
    width: 100%;
    background-color: white;
    padding: 1rem 1.5rem;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    border-bottom: 1px solid var(--border-color);
}
.accordion-item.active .accordion-header {
    background-color: #fffbeb;
    border-bottom-color: #fde68a;
}
.level-indicator {
    background-color: var(--primary-orange);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
}
.member-count {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-gray);
}
.accordion-icon {
    font-size: 1rem;
    color: var(--text-gray);
    transition: transform 0.3s ease;
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: white;
}
.accordion-content .table-responsive {
    padding: 0.5rem;
}




/* --- Plan Page --- */
.payment-method-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.payment-method-selector input[type="radio"] {
    display: none; /* Hide the actual radio button */
}
.payment-method-box {
    border: 2px solid #e2e8f0; /* Gray-200 */
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    color: #475569; /* Gray-600 */
}
.payment-method-box i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}
.payment-method-box span {
    font-weight: 600;
}
.payment-method-selector input[type="radio"]:checked + .payment-method-box {
    border-color: #D97706; /* Your primary orange */
    background-color: #fff7ed; /* Orange-50 */
    color: #D97706;
}
.status-pending {
    background-color: #fef9c3; /* Yellow-100 */
    color: #854d0e; /* Yellow-800 */
}
.status-completed {
    background-color: #e0e7ff; /* Indigo-100 */
    color: #3730a3; /* Indigo-800 */
}

/* --- Buttons --- */
.claim-btn, .share-btn {
    background-color: #D97706; /* Your primary orange */
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    text-align: center;
    width: auto; /* Default width */
}
.claim-btn:hover, .share-btn:hover {
    background-color: #b45309; /* Darker orange */
}
.w-full {
    width: 100%;
}


