* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    min-height: 100vh;
    background: url("assets/background.jpg") center/cover no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 75, 35, 0.25),
        rgba(0, 0, 0, 0.18)
    );
}

.login-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 430px;
    padding: 20px;
}

.login-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    border-radius: 28px;
    padding: 38px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.6);
}

.logo-box {
    width: 118px;
    height: 118px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: 3px solid #18a558;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.logo-box img {
    width: 82%;
    height: 82%;
    object-fit: contain;
}

h1 {
    color: #0b6b3a;
    font-size: 34px;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.subtitle {
    color: #555;
    margin-bottom: 30px;
    font-size: 17px;
}

.input-group {
    text-align: left;
    margin-bottom: 18px;
}

.input-group label {
    display: block;
    color: #0b6b3a;
    font-weight: 700;
    margin-bottom: 7px;
}

.input-group input {
    width: 100%;
    padding: 15px 16px;
    border: 1.5px solid #d0d7d3;
    border-radius: 14px;
    font-size: 15px;
    outline: none;
    background: rgba(255,255,255,0.92);
}

.input-group input:focus {
    border-color: #18a558;
    box-shadow: 0 0 0 4px rgba(24, 165, 88, 0.15);
}

button {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #20b263, #0b6b3a);
    color: white;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 12px 24px rgba(11, 107, 58, 0.28);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(11, 107, 58, 0.38);
}

#mensaje {
    margin-top: 18px;
    font-weight: 700;
}

@media (max-width: 500px) {
    .login-card {
        padding: 28px 22px;
    }

    h1 {
        font-size: 29px;
    }
}