@import url('variables.css');

body {
    background: url('https://images.unsplash.com/photo-1543353071-873f17a7a088?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    color: var(--text-color);
}

.auth-container {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    text-align: center;
    margin: auto;
}

h2 {
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
    font-size: 2rem;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--dark);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.subtitle {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
}

input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 1rem;
    border: 2px solid var(--gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    /* Ensure padding doesn't break width */
}

input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.2);
}

button {
    width: 100%;
    padding: 12px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

p {
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

a:hover {
    text-decoration: underline;
}

#error-msg {
    min-height: 1.2rem;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: red;
}

/* Footer Styles */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 2rem 0;
    width: 100%;
}

.footer-container {
    display: flex;
    justify-content: space-between;

    max-width: 100%;
    padding: 0 2.5rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-circle {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
}

.social-circle:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}