:root {
    --primary: #102619;
    --accent: #f9c835;
    --secondary: #1e3d1e;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body,
html {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Raleway', sans-serif;
    background: url('../assets/experimentals/cattle.png') no-repeat center center/cover;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.background-blur {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(16, 38, 25, 0.7), rgba(30, 61, 30, 0.5));
    backdrop-filter: blur(8px);
    z-index: 1;
}

.glass-card {
    position: relative;
    z-index: 10;
    width: 95%;
    max-width: 1000px;
    min-height: 600px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    margin: 40px auto;
}

.card-info {
    flex: 1;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    background: rgba(16, 38, 25, 0.3);
}

.card-action {
    width: 450px;
    background: rgba(255, 255, 255, 0.98);
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo-db {
    width: 80px;
    margin-bottom: 1.5rem;
}

h1 {
    font-family: 'DM Serif Text', serif;
    font-size: 3.5rem;
    margin: 0 0 1.5rem 0;
    line-height: 1.1;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.card-info p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.login-form {
    width: 100%;
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 8px;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    transition: 0.3s;
    box-sizing: border-box;
    background: #fdfdfd;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 4px 12px rgba(16, 38, 25, 0.1);
}

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 0.85rem;
}

.options a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.options a:hover {
    color: var(--accent);
}

.btn-login {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 1.2rem;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(16, 38, 25, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-login:hover {
    transform: translateY(-3px);
    background: var(--secondary);
    box-shadow: 0 15px 30px rgba(16, 38, 25, 0.3);
}

.btn-login:active {
    transform: translateY(-1px);
}

.tag {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-text {
    margin-top: 2.5rem;
    font-size: 0.75rem;
    color: #aaa;
    text-align: center;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .card-info {
        padding: 3rem;
    }

    .card-action {
        width: 400px;
        padding: 3rem;
    }

    h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 900px) {
    body {
        justify-content: flex-start;
    }

    .glass-card {
        flex-direction: column;
        max-width: 500px;
        min-height: auto;
        margin: 20px auto;
    }

    .card-info {
        padding: 4rem 2rem;
        text-align: center;
        align-items: center;
    }

    .card-action {
        width: 100%;
        padding: 3rem 2rem;
    }

    h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .card-info p {
        font-size: 1.1rem;
        margin-bottom: 0;
    }

    .tag {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .glass-card {
        width: 100%;
        border-radius: 0;
        margin: 0;
        border: none;
    }

    .card-info {
        padding: 5rem 1.5rem 3rem 1.5rem;
    }

    .card-action {
        padding: 2.5rem 1.5rem 3rem 1.5rem;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem !important;
    }

    .logo-db {
        width: 70px;
    }

    .btn-login {
        padding: 1rem;
        font-size: 1rem;
    }

    .options {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}
