/* login.css */
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f5f5f7;
    padding: 20px;
}

.login-card {
    width: 600px;
    max-width: 480px;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.subtitle {
    color: #666;
    margin-bottom: 25px;
    font-size: 16px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    position: relative;
    width: 100%; /* Ensure inputs fit within the card */
}

.form-input {
    width: 100%; /* Adjust input field width dynamically */
    padding: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background-color: #f0f0f0;
    font-size: 15px;
    outline: none;
    box-sizing: border-box; /* Prevent padding from affecting width */
    transition: border-color 0.2s;
}

.form-input:focus {
    border-color: #8d7387;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
}
.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remember-checkbox {
    width: 16px;
    height: 16px;
    accent-color: #8d7387;
}

.forgot-password {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-button {
    display: block; /* NEW line */
    background-color: #8d7387;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-align: center; /* center text for <a> */
    text-decoration: none; /* remove underline */
    transition: background-color 0.2s;
    margin-top: 10px;
}

.login-button:hover {
    background-color: #7d6377;
}

.login__header {
    text-align: center;
    margin-bottom: 20px;
}

.login__logo {
    width: 379px;
    height: 305px;
}

.login__welcome {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 32px;
    gap: 24px;
}

.login__title {
    margin: 0;
    font-size: 32px;
    color: #333;
}

.login__welcome-icon {
    width: 37px;
    height: 32px;
}

@media (max-width: 600px) {
    .login-card {
        width: 100%;
        max-width: 100%;
        padding: 15px;
    }
    
    .form-input {
        width: 100%;
    }
    
    .login__logo {
        width: 100%;
        height: auto;
        max-width: 250px;
    }
    
    .login__welcome {
        flex-direction: column;
        gap: 12px;
        padding-bottom: 20px;
    }
    
    .login__title {
        font-size: 24px;
    }
}

.register-button {
    display: flex;
    padding: 12px 32px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-radius: 4px;
    border: 1px solid #000;
    margin-top: 12px;
}

