@import url('https://fonts.googleapis.com/css2?family=Alegreya+Sans+SC:ital,wght@0,100;0,300;0,400;0,500;0,700;0,800;0,900;1,100;1,300;1,400;1,500;1,700;1,800;1,900&display=swap');

body {
    background: #F1EFEC;
    font-family: "Alegreya Sans SC", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.logo img {
    max-width: 75%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
}

.login-box {
    background: #D4C9BE;
    padding: 40px 30px;
    border-radius: 15px;
    width: 100%;
    max-width: 400px;
    min-width: 280px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

p {
    font-size: 14px;
    margin-bottom: 20px;
}

input {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    margin-bottom: 15px;
    border: 2px solid black;
    border-radius: 10px;
    font-size: 16px;
    box-sizing: border-box;
    font-family: "Alegreya Sans SC", sans-serif;
}

input::placeholder {
    font-family: "Alegreya Sans SC", sans-serif;
    color: #999; 
}

input::-webkit-input-placeholder { 
    font-family: "Alegreya Sans SC", sans-serif;
    color: #999;
}

input::-moz-placeholder {
    font-family: "Alegreya Sans SC", sans-serif;
    color: #999;
    opacity: 1; 
}

input:-ms-input-placeholder { 
    font-family: "Alegreya Sans SC", sans-serif;
    color: #999;
}

input:-moz-placeholder { 
    font-family: "Alegreya Sans SC", sans-serif;
    color: #999;
}


button {
    background-color: #123458;
    color: white;
    border: none;
    width: 100%;
    padding: 14px;
    font-weight: bold;
    font-size: 16px;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 10px;
    font-family: "Alegreya Sans SC", sans-serif;

}
button:hover {
    background-color: #005b9f;
}

.register-link {
    margin-top: 20px;
    font-size: 14px;
    color: #333;
}
.register-link a {
    color: #0070ba;
    text-decoration: none;
    font-weight: bold;
}
.register-link a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .login-box {
        padding: 30px 20px;
    }

    h1 {
        font-size: 26px;
    }

    h2 {
        font-size: 18px;
    }

    p, .register-link {
        font-size: 13px;
    }

    input, button {
        font-size: 15px;
        padding: 12px;
    }
}