/* Auth Styles - Login and Register Pages */

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    flex: 1;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 2rem;
    font-size: 2rem;
}

form {
    display: flex;
    flex-direction: column;
}

form div {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: bold;
}

input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

input[type="email"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 5px rgba(102, 126, 234, 0.3);
}

button[type="submit"] {
    background: linear-gradient(135deg, #1f2937 0%, #0f172a 100%);
    color: white;
    border: 1px solid rgba(213, 186, 122, 0.45);
    padding: 0.75rem;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 1rem;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.24);
}

button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(15, 23, 42, 0.28);
}

button[type="submit"]:active {
    transform: translateY(0);
}

p {
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
}

p a {
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
}

p a:hover {
    text-decoration: underline;
}

.error {
    background: #ffe6e6;
    color: #d63031;
    padding: 0.75rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    text-align: center;
    border: 1px solid #fab1a0;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .container {
        margin: 1rem;
        padding: 1.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    input[type="email"],
    input[type="password"] {
        padding: 0.6rem;
        font-size: 0.9rem;
    }

    button[type="submit"] {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
}

/* Desktop Enhancements */
@media (min-width: 769px) {
    .container {
        margin: 4rem auto;
    }

    h1 {
        font-size: 2.5rem;
    }

    form div {
        margin-bottom: 2rem;
    }

    input[type="email"],
    input[type="password"] {
        padding: 1rem;
        font-size: 1.1rem;
    }

    button[type="submit"] {
        padding: 1rem;
        font-size: 1.1rem;
    }
}