/* AEM Labs Limited - Admin Dashboard - Authentication Page Styles */
/* =============================================================== */

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800;900&display=swap');

:root {
    --accent-color: #a71c1c;
    --accent-hover: #8a1818;
    --bg-primary: #f8f8f8;
    --text-secondary: #666666;
    --text-muted: #999999;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Be Vietnam Pro', sans-serif;
    background: #222222;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #333333;
}

::selection {
    background-color: var(--accent-color);
    color: #fff;
}


.container {
    background: #333;
    color: #eee;
    border-radius: 12px;
    max-width: 450px;
    width: 100%;
    overflow: hidden;
}

.header {
    text-align: center;
    padding: 20px;
    position: relative;
}

.logo {
    position: relative;
    margin-bottom: 12px;
}

.logo img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.container h1 {
    position: relative;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.container h2 {
    position: relative;
    font-size: 13px;
    font-weight: 500;
}

.container h2 a {
    color: var(--accent-color); 
    text-decoration: none;
}

.container h2 a:hover {
    text-decoration: underline;
}




/* Form Container */
.auth-form-container {
    padding: 40px 40px 30px;
}

/* Flash Messages */
.flash-messages {
    margin-bottom: 25px;
}

.flash-message {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}

.flash-message i {
    font-size: 16px;
}

.flash-error {
    background: #fee2e2;
    color: #dc2626;
    border-left: 4px solid #dc2626;
}

.flash-success {
    background: #dcfce7;
    color: #16a34a;
    border-left: 4px solid #16a34a;
}

.flash-warning {
    background: #fef3c7;
    color: #d97706;
    border-left: 4px solid #d97706;
}

.flash-info {
    background: #dbeafe;
    color: #2563eb;
    border-left: 4px solid #2563eb;
}

/* Form Section */



/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #333333;
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 13px;
    font-family: inherit;
    background: white;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(167, 28, 28, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
}

/* Password Input Container */
.password-input-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    transition: all 0.3s ease;
}

.password-toggle:hover {
    color: var(--accent-color);
}

.password-toggle:focus {
    outline: none;
    color: var(--accent-color);
}

/* Submit Button */
.auth-submit-btn {
    width: 100%;
    background: linear-gradient(270deg, #a71c1c, #6907c5, #a71c1c, #6907c5);
    background-size: 300% 100%;
    background-position: 0% 0%;
    color: white;
    border: none;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.auth-submit-btn:hover {
    background-position: 100% 0%;
    transform: translateY(-2px);
}

.auth-submit-btn:active {
    transform: translateY(0);
}

.auth-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-spinner {
    margin-left: 8px;
}

/* Footer */
.auth-footer {
    padding: 25px 40px;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.security-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.security-info i {
    color: #16a34a;
}

.footer-links {
    margin-bottom: 12px;
}

.website-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--accent-color);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(167, 28, 28, 0.1);
    transition: all 0.3s ease;
    font-weight: 500;
}

.website-link:hover {
    background: rgba(167, 28, 28, 0.2);
    transform: translateY(-1px);
    color: var(--accent-hover);
    text-decoration: none;
}

.website-link i {
    font-size: 12px;
}

.copyright {
    font-size: 12px;
    color: var(--text-muted);
}

