/* ===== GLOBAL RESET ===== */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: url("/static/agrobi_hatter.png") no-repeat center top;
    background-size: cover;
    background-color: #f4f6f4;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== LAYOUT WRAPPER ===== */

.wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 220px 20px 40px 20px;
}

/* ===== CONTAINER SYSTEM ===== */

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ===== FLEX GRID ===== */

.row {
    display: flex;
    gap: 20px;
}

@media (max-width: 992px) {
    .row {
        flex-direction: column;
    }
}

/* ===== CARD ===== */

.card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    text-align: center;
    max-width: 500px;
    width: 100%;
}

/* ===== LOGO ===== */

.logo {
    max-width: 160px;
    margin-bottom: 20px;
}

/* ===== BUTTON ===== */

.button {
    display: inline-block;
    padding: 12px 20px;
    background-color: #2e7d32;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.2s ease;
}

.button:hover {
    background-color: #1b5e20;
}

/* ===== FORMS ===== */

input, select, textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    margin-bottom: 15px;
}

/* ===== TABLE RESPONSIVE ===== */

.table-wrapper {
    overflow-x: auto;
}

/* ===== FOOTER ===== */

.footer {
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: #666;
}

/* ===== MOBILE TUNING ===== */

@media (max-width: 768px) {

    .wrapper {
        padding: 160px 15px 30px 15px;
    }

    .card {
        padding: 20px;
    }

    .logo {
        max-width: 130px;
    }

    .button {
        width: 100%;
    }
}