/* Auth Modal Styles */
.auth-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.auth-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
}

.auth-modal-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    z-index: 10000;
}

.auth-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 1;
}

.auth-modal-close:hover {
    background: #f5f5f5;
    color: #333;
}

/* Tab Navigation */
.auth-tabs {
    display: flex;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 30px;
}

.auth-tab {
    flex: 1;
    padding: 15px 20px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.auth-tab:hover {
    color: #333;
    background: #f9f9f9;
}

.auth-tab.active {
    color: var(--theme, #FE5900);
    border-bottom-color: var(--theme, #FE5900);
    background: transparent;
}

/* Form Container */
.auth-form-container {
    padding: 30px;
}

.auth-form-container h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.auth-subtitle {
    color: #666;
    margin-bottom: 25px;
    font-size: 14px;
}

.auth-subtitle span {
    font-weight: 600;
    color: #333;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fff !important;
    color: #333 !important;
}

.form-group input:focus {
    outline: none;
    border-color: var(--theme, #FE5900);
    box-shadow: 0 0 0 3px rgba(254, 89, 0, 0.1);
    color: #333 !important;
}

.form-group input::placeholder {
    color: #666 !important;
    opacity: 1 !important;
}

.form-group input::-webkit-input-placeholder {
    color: #666 !important;
    opacity: 1 !important;
}

.form-group input::-moz-placeholder {
    color: #666 !important;
    opacity: 1 !important;
}

.form-group input:-ms-input-placeholder {
    color: #666 !important;
    opacity: 1 !important;
}

.form-group input:-moz-placeholder {
    color: #666 !important;
    opacity: 1 !important;
}

.form-text {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #999;
}

/* Buttons */
.theme-btn.w-100 {
    width: 100%;
    margin-top: 10px;
}

.theme-btn-outline {
    background: transparent;
    border: 2px solid var(--theme, #FE5900);
    color: var(--theme, #FE5900);
}

.theme-btn-outline:hover {
    background: var(--theme, #FE5900);
    color: #fff;
}

.theme-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-loader {
    display: inline-block;
    margin-left: 8px;
}

/* Messages */
.auth-message {
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
}

.auth-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.auth-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 576px) {
    .auth-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .auth-form-container {
        padding: 20px;
    }
    
    .auth-form-container h3 {
        font-size: 24px;
    }
}

/* OTP Input Styling */
#otpCode {
    text-align: center;
    font-size: 24px;
    letter-spacing: 8px;
    font-weight: 600;
    color: #333 !important;
}

#otpCode::placeholder {
    color: #666 !important;
    opacity: 1 !important;
}

#otpCode::-webkit-input-placeholder {
    color: #666 !important;
    opacity: 1 !important;
}

#otpCode::-moz-placeholder {
    color: #666 !important;
    opacity: 1 !important;
}

/* Profile Dropdown Wrapper */
.profile-dropdown-wrapper {
    position: relative;
    margin-left: 15px;
}

/* Profile Icon */
.profile-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    min-width: 45px;
    min-height: 45px;
    border-radius: 50%;
    background: var(--theme, #FE5900) !important;
    color: #fff !important;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    visibility: visible;
    position: relative;
    z-index: 10;
    cursor: pointer;
}

.profile-icon:hover {
    background: var(--header, #030523) !important;
    transform: scale(1.05);
    color: #fff !important;
}

.profile-icon i {
    margin-right: 0;
    color: #fff;
}

.profile-icon.mt-4 {
    margin-top: 1rem;
    width: auto;
    min-width: auto;
    padding: 10px 20px;
    border-radius: 8px;
    height: auto;
    min-height: auto;
}

.profile-icon.mt-4 i {
    margin-right: 8px;
    color: #fff;
}

/* Profile Dropdown Menu */
.profile-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1000;
    overflow: hidden;
    animation: slideDown 0.3s ease;
}

.profile-dropdown-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.profile-dropdown-item:last-child {
    border-bottom: none;
}

.profile-dropdown-item i {
    margin-right: 10px;
    color: var(--theme, #FE5900);
    width: 18px;
}

.profile-dropdown-item:hover {
    background: #f8f9fa;
    color: var(--theme, #FE5900);
}

.profile-dropdown-item:hover i {
    color: var(--theme, #FE5900);
}

/* Mobile dropdown positioning */
.profile-dropdown-wrapper.mt-4 .profile-dropdown {
    right: auto;
    left: 0;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hide profile icon when not logged in */
.profile-icon[style*="display: none"] {
    display: none !important;
    visibility: hidden !important;
}

/* Show JOIN NOW button when logged out */
#joinNowBtn[style*="display: none"] {
    display: none !important;
    visibility: hidden !important;
}

/* Form Labels */
.form-group label .required {
    color: #e74c3c;
    margin-left: 3px;
}

.form-group label .optional {
    color: #999;
    font-size: 12px;
    font-weight: normal;
    margin-left: 5px;
}

/* Profile Page Styles */
.ml-3 {
    margin-left: 1rem;
}

#logoutBtn {
    margin-left: 1rem;
}

/* Online Shop Banner Section */
.online-shop-banner-section {
    position: relative;
    width: 100%;
}

@media (max-width: 768px) {
    .online-shop-banner-section {
        height: auto !important;
        min-height: 350px;
        padding: 40px 0;
    }
    
    .online-shop-banner-section h2 {
        font-size: 32px !important;
        margin-bottom: 20px !important;
    }
    
    .online-shop-banner-section p {
        font-size: 16px !important;
        padding: 0 15px;
    }
}

@media (max-width: 576px) {
    .online-shop-banner-section {
        min-height: 300px;
        padding: 30px 0;
    }
    
    .online-shop-banner-section h2 {
        font-size: 28px !important;
        letter-spacing: 1px !important;
    }
    
    .online-shop-banner-section p {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
}

