/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #eef2f7 0%, #ffffff 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

/* Auth Wrapper optimized for mobile dimensions */
.auth-wrapper {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header UI Elements */
.header-container {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1rem auto;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

.icon-white {
    color: #ffffff;
    stroke-width: 2.5px;
    width: 28px;
    height: 28px;
}

.header-container h1 {
    color: #0f172a;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.header-container p {
    color: #64748b;
    font-size: 0.95rem;
}

/* White Container Card with subtle shadow */
.auth-card {
    background: #ffffff;
    width: 100%;
    border-radius: 20px;
    padding: 2rem 1.75rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    color: #334155;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 12px;
    color: #94a3b8;
    width: 18px;
    height: 18px;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 12px 0.75rem 40px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #1e293b;
    outline: none;
    transition: all 0.2s ease;
}

/* Active Focus state */
.form-group input:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.25);
}

.eye-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* Gradient Action Button */
.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    border: none;
    border-radius: 10px;
    padding: 0.85rem;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.2s ease;
    margin-top: 1.5rem;
}

.submit-btn:hover {
    opacity: 0.95;
}

.btn-icon {
    width: 18px;
    height: 18px;
}

/* Footer elements */
.footer-links {
    text-align: center;
    font-size: 0.9rem;
}

.footer-links p {
    color: #64748b;
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.footer-links a:hover {
    text-decoration: underline;
}

.forgot-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: #64748b !important;
    font-weight: 400 !important;
    font-size: 0.85rem;
}

.small-key-icon {
    width: 14px;
    height: 14px;
}
