/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BACKGROUND */
body {
    height: 100vh;
    width: 100%;
    background: #eef5ef; /* сабзи паст */
    font-family: "Palatino Linotype", serif;

    display: flex;
    justify-content: center;
    align-items: center;
}

/* WRAPPER */
.login-wrapper {
    width: 100%;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 100vh !important;
}

/* LOGIN BOX */
.login-box {
    width: 390px;
    background: #ffffff;
    padding: 32px;
    border-radius: 14px;
    box-shadow: 0 10px 32px rgba(0,0,0,0.15);
    animation: fadeIn 0.5s ease;
}

/* LOGO */
.logo-box {
    text-align: center;
    margin-bottom: 10px;
}

.logo-box img {
    width: 72px;
    opacity: 0.95;
}

/* COMPANY TITLE */
.company-title {
    font-size: 19px;
    margin-top: 8px;
    font-weight: bold;
    color: #000000;   /* Сиёҳ */
    text-align: center;
}

/* LOGIN TITLE */
.login-title {
    text-align: center;
    font-size: 20px;
    margin-bottom: 22px;
    color: #000000;   /* Сиёҳ */
}

/* INPUT LABEL */
label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    color: #000000;   /* Сиёҳ */
}

/* INPUT FIELD */
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #9cb89c;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 15px;
    outline: none;
    transition: 0.2s;
    color: #000000;   /* Матни дохили input ҳам сиёҳ */
}

input::placeholder {
    color: #333; /* placeholder каме хокистарӣ */
}

input:focus {
    border-color: #3E8E41;
    box-shadow: 0 0 6px rgba(62,142,65,0.35);
}

/* BUTTON — сабзи корпоративӣ */
button {
    width: 100%;
    padding: 12px;
    border: none;
    background: #3E8E41;
    color: white;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.25s;
}

button:hover {
    background: #46A049;
}

/* ALERT MESSAGES */
.alert {
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
    font-size: 14px;
}

.alert.error {
    background: #ffe4e4;
    color: #b30000;
}

.alert.warning {
    background: #fff3cd;
    color: #856404;
}

.alert.info {
    background: #DFF4E0;
    color: #1e4d1e;
}

/* ANIMATION */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to   { opacity: 1; transform: translateY(0); }
}
