body {
    font-family: Arial, sans-serif;
    background: #f4f6f9;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 15px;
    box-sizing: border-box;
}

.auth-container {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 450px;
}

.title-block p {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.input-box {
    margin-bottom: 20px;
}

.input-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.input-field {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.input-field:focus {
    border-color: hsl(173, 58%, 39%);
    outline: none;
}

.messages {
    background: #ffe0e0;
    border: 1px solid #ffb0b0;
    padding: 10px 15px;
    border-radius: 8px;
    list-style: none;
    margin-bottom: 15px;
    color: #d8000c;
    font-size: 14px;
}

.message {
    margin: 0;
}

#login-button button {
    width: 100%;
    padding: 12px;
    background-color: hsl(173, 58%, 39%);
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

#login-button button:hover {
    background-color: hsl(173, 58%, 35%);
}

.link-block {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
}

.link-block a {
    color: hsl(173, 58%, 39%);
    text-decoration: none;
}

link-block a:hover {
    text-decoration: underline;
}

.google-login-btn {
    display: flex; /* Use flexbox for alignment */
    align-items: center; /* Vertically align icon and text */
    justify-content: center; /* Horizontally center content */
    width: 100%;
    height: 40px; /* Explicit height for consistency */
    padding: 0 12px; /* Adjust padding as needed, vertical padding handled by align-items */
    background-color: #ffffff; /* Standard Google Button White */
    color: #3c4043; /* Standard Google Button Text Color */
    border: 1px solid #dadce0; /* Standard Google Button Border Color */
    border-radius: 4px; /* Standard Google Button Border Radius */
    font-family: "Roboto", "Helvetica Neue", Arial, sans-serif; /* Google's preferred font stack */
    font-size: 14px; /* Common font size for Google buttons */
    font-weight: 500; /* Medium weight */
    text-align: center; /* Fallback if flex not supported, or for text within span */
    margin-top: 10px;
    text-decoration: none;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    box-sizing: border-box;
}
.google-login-btn:hover {
    background-color: #f8f9fa; /* Lighter shade for hover */
    border-color: #dadce0; /* Keep border or use a slightly darker one like #c6c6c6 */
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.302); /* Subtle shadow on hover */
}

/* Media queries for responsive design */
@media screen and (max-width: 480px) {
    .auth-container {
        padding: 25px 20px;
    }
    
    .title-block p {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .input-field {
        padding: 10px;
        font-size: 16px; /* Larger font size for better mobile interaction */
    }
    
    #login-button button {
        padding: 12px;
        font-size: 16px;
    }
    
    .input-label {
        font-size: 14px;
    }
}

/* Make touch targets easier to hit on mobile */
@media (hover: none) and (pointer: coarse) {
    #login-button button {
        min-height: 48px;
    }
    
    .input-field {
        min-height: 44px;
    }
}