
/* DragonDev Authentication System Styles */

/* Account Button */
.nav-account {
    position: relative;
    margin-left: 20px;
}

.account-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #01257D, #00FFFF);
    border: none;
    border-radius: 25px;
    color: #ffffff;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
}

.account-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 255, 0.4);
    background: linear-gradient(135deg, #0136a3, #33ffff);
}

.account-btn i {
    font-size: 18px;
    color: #ffffff;
}

/* Account Dropdown */
.account-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: linear-gradient(135deg, #0a0a0a, #1a1a2e);
    border: 2px solid #00FFFF;
    border-radius: 12px;
    padding: 20px;
    width: 250px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
    margin-top: 10px;
}

.account-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.account-avatar i {
    font-size: 40px;
    color: #00FFFF;
}

.account-name {
    color: #00FFFF;
    font-weight: bold;
    font-size: 16px;
}

.account-plan {
    color: #888;
    font-size: 12px;
}

.logout-btn {
    width: 100%;
    background: linear-gradient(135deg, #dc3545, #c82333);
    border: none;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.logout-btn:hover {
    background: linear-gradient(135deg, #c82333, #bd2130);
    transform: translateY(-1px);
    color: white;
}

/* Auth Modal */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.auth-modal-content {
    background: linear-gradient(135deg, #0a0a0a, #1a1a2e);
    border: 2px solid #00FFFF;
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 255, 255, 0.3);
    position: relative;
}

.auth-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #00FFFF;
}

.auth-header h2 {
    color: #00FFFF;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Orbitron', monospace;
}

.close-btn {
    background: none;
    border: none;
    color: #00FFFF;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(0, 255, 255, 0.1);
}

/* Form Styling */
.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form h3 {
    color: #00FFFF;
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Orbitron', monospace;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #00FFFF;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid #00FFFF;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #00FFFF;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
    background: rgba(1, 37, 125, 0.2);
}

.error-message {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid #dc3545;
    color: #dc3545;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Auth Buttons */
.auth-btn {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    font-family: 'Roboto', sans-serif;
}

.auth-btn.primary {
    background: linear-gradient(135deg, #01257D, #00FFFF);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
}

.auth-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.4);
    background: linear-gradient(135deg, #0136a3, #33ffff);
}

.auth-btn.secondary {
    background: transparent;
    color: #00FFFF;
    border: 2px solid #00FFFF;
}

.auth-btn.secondary:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-1px);
}

.auth-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Auth Switch Links */
.auth-switch {
    text-align: center;
    color: #888;
    font-size: 14px;
    margin-top: 20px;
}

.auth-switch a {
    color: #00FFFF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-switch a:hover {
    color: #33ffff;
}

/* OTP Specific Styles */
.otp-message {
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.5;
}

.otp-timer {
    text-align: center;
    color: #00FFFF;
    margin: 15px 0;
    font-size: 14px;
    font-family: 'Orbitron', monospace;
}

/* Payment Form Styles */
.selected-plan-info {
    background: rgba(1, 37, 125, 0.2);
    border: 1px solid #00FFFF;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: center;
}

.selected-plan-info h4 {
    color: #00FFFF;
    margin: 0 0 10px 0;
    font-family: 'Orbitron', monospace;
}

.selected-plan-info p {
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.payment-methods h4 {
    color: #00FFFF;
    margin-bottom: 15px;
    font-family: 'Orbitron', monospace;
}

.payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.payment-method {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid #00FFFF;
    color: #00FFFF;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
}

.payment-method:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-1px);
}

.payment-method.selected {
    background: linear-gradient(135deg, #01257D, #00FFFF);
    color: white;
}

.payment-info {
    background: rgba(26, 26, 46, 0.6);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.payment-info p {
    color: #ffffff;
    margin: 8px 0;
    font-size: 14px;
}

.payment-info strong {
    color: #00FFFF;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    color: white;
    font-weight: 500;
    z-index: 10001;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 300px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.success {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.notification.error {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
}

.notification.info {
    background: linear-gradient(135deg, #01257D, #00FFFF);
}

.notification.warning {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-account {
        margin-left: 10px;
    }
    
    .account-btn {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .account-dropdown {
        width: 200px;
        right: -50px;
    }
    
    .auth-modal-content {
        width: 95%;
        padding: 20px;
        margin: 10px;
    }
    
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .payment-options {
        grid-template-columns: 1fr;
    }
}
