body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f3f4f6;
}

.container {
    width: 100%;
    max-width: 400px;
    position: relative;
    overflow: hidden;
    padding: 0 1rem;
    box-sizing: border-box;
}

.form-container {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-out;
    opacity: 1;
    transform: scale(1);
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
}

h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.input-group {
    margin-bottom: 1rem;
    width: 100%;
}

input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    box-sizing: border-box;
}

button {
    width: 100%;
    padding: 0.5rem;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #2563eb;
}

.links {
    text-align: center;
    margin-top: 1rem;
}

.links a {
    color: #3b82f6;
    text-decoration: none;
    margin: 0 0.5rem;
}

.scale-out {
    transform: scale(0);
    opacity: 0;
}

.scale-in {
    animation: scaleIn 0.3s ease-out forwards;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.message {
    display: none;
    margin-top: 1rem;
    padding: 0.5rem;
    border-radius: 0.25rem;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.success {
    background-color: #10B981;
    color: white;
}

.error {
    background-color: #EF4444;
    color: white;
}

#googleButtonContainer {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

#sessionMessage {
    display: block !important;
    margin-bottom: 15px !important;
    padding: 10px !important;
    border-radius: 5px !important;
    background-color: #e7f3fe !important;
    border: 1px solid #b6d4fe !important;
    color: #084298 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

#sessionMessage:empty {
    display: none !important;
}

.cgu-text {
    font-size: 0.8em;
    margin-bottom: 10px;
    text-align: center;
    color: #666;
}