/* Droneverse Admin - Authentication Styles */
/* 
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --text-muted: #6c757d;
    --border-color: #e9ecef;
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.1);
} */
:root {
    --primary-color: #fdbb00;
    /* based on the yellow/orange from the Drone Verse logo */
    --secondary-color: #080708;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --text-muted: #6c757d;
    --border-color: #e9ecef;
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.1);
}

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

body {
    background: #f5f5f5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 1rem;
}

.auth-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    width: 100%;
    max-width: 450px;
    position: relative;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header .brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.auth-header .brand-logo .logo-img {
    object-fit: contain;
    border-radius: 8px;
    max-height: 2.5rem;
}

.auth-header .brand-logo .brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.auth-header .brand-logo .brand-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

.auth-header .brand-logo .brand-accent {
    color: #fdbb00;
}

.auth-header .brand-logo .brand-tagline {
    font-size: 0.7rem;
    color: #666;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Simple logo styling - no gradients */

.auth-header h2 {
    color: #333;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.auth-header p {
    color: #666;
    font-size: 0.9rem;
    font-weight: 400;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-control:focus {
    outline: none;
    border-color: #fdbb00;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.1);
    background: white;
}

.form-control.is-invalid {
    border-color: #dc3545;
    background: #f8f9fa;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* Password Input Wrapper */
.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0;
    font-size: 16px;
}

.password-toggle:hover {
    color: #333;
}

.password-input-wrapper .form-control {
    padding-right: 40px;
}

/* Button Styles */
.btn {
    width: 100%;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #fdbb00;
    color: white;
    border: none;
}

.btn-primary:hover {
    background: #e5ba2b;
    color: white;
    transform: none;
    box-shadow: none;
}

/* Checkbox Styles */
.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.form-check-input {
    margin-right: 0.5rem;
    width: 16px;
    height: 16px;
    accent-color: #fdbb00;
}

.form-check-label {
    color: #666;
    font-size: 0.9rem;
    font-weight: 400;
}

/* Alert Styles */
.alert {
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: none;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid var(--danger-color);
}

.alert ul {
    margin: 0;
    padding-left: 1.5rem;
}

/* Link Styles */
.auth-links {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.auth-links p {
    color: #666;
    font-size: 0.85rem;
    font-weight: 400;
}

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

.auth-links a:hover {
    color: #e55a2b;
    text-decoration: underline;
}

/* Loading State */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* Responsive Design */
@media (max-width: 480px) {
    .auth-card {
        padding: 2rem;
        margin: 1rem;
    }

    .auth-header h2 {
        font-size: 1.5rem;
    }

    .form-control {
        padding: 12px 16px;
    }

    .btn {
        padding: 12px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Remove animation for simpler design */

/* Password Strength Indicator */
.password-strength {
    margin-top: 0.5rem;
    height: 4px;
    border-radius: 2px;
    background: #e9ecef;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.password-strength-bar.weak {
    background: var(--danger-color);
    width: 25%;
}

.password-strength-bar.medium {
    background: var(--warning-color);
    width: 50%;
}

.password-strength-bar.strong {
    background: var(--success-color);
    width: 100%;
}