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

html, body {
    height: 100%;
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.container-fluid {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: none;
    padding: 1.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Headland One', serif;
    letter-spacing: 2px;
    transition: opacity 0.3s ease;
}

.header-brand:hover {
    opacity: 0.8;
}

.header-logo {
    height: 3.5rem;
    width: auto;
}

.content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.form-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.login-container {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 450px;
}

.form-section input {
    width: 100%;
    padding: 0.9rem 1rem;
    margin-bottom: 0.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-section input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-section button {
    width: 100%;
    padding: 1rem;
    margin-top: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-section button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

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

.oauth-separator {
    width: 100%;
    max-width: 500px;
    height: 1px;
    background-color: #e0e0e0;
    margin: 1.5rem auto;
}

.oauth-img-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    gap: 0.8rem;
}

.oauth-img-container .oauth-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.oauth-img:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.footer-links {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.footer-links a {
    margin: 0 0.8rem;
    text-decoration: none;
    color: #667eea;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.text-danger {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

@media (max-width: 768px) {
    .content {
        padding: 1rem;
    }

    .login-container {
        padding: 2rem 1.5rem;
    }

    .header {
        padding: 1rem;
    }

    .header-brand {
        font-size: 1.8rem;
    }

    .header-logo {
        height: 2.5rem;
    }
}