/* ========== RESET ========== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ========== BASE ========== */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background: url('../slike/logo.jpg') no-repeat fixed left;
    background-size: cover;
    min-height: 100vh;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ========== HEADER ========== */
.header-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 16px 0;
}

.logo-img {
    width: 50px;
}

.company-title {
    font-size: 26px;
    font-weight: bold;
}

.local-notice {
    font-size: 14px;
    font-weight: bold;
    color: #b00000;
}

/* ========== FORM WRAPPER ========== */
.form-wrapper {
    background: rgba(255,255,255,0.95);
    padding: 25px;
    border-radius: 8px;
    max-width: 800px;
    margin: 20px auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.form-title {
    text-align: center;
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: bold;
}

/* ========== TABLE (DESKTOP FORCE FIX) ========== */

.form-table {
    display: table;
    width: 100%;
    border-collapse: collapse;
}

.form-table tr {
    display: table-row;
}

.form-table td {
    display: table-cell;
    padding: 10px 5px;
    vertical-align: top;
}

.form-table td:first-child {
    text-align: right;
    padding-right: 20px;
    font-weight: bold;
    width: 40%;
}

.form-table td:last-child {
    width: 60%;
}

/* ========== FORM ELEMENTS ========== */

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    max-width: 400px;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76,175,80,0.2);
}

/* ========== BUTTON ========== */

.submit-btn {
    background: #4CAF50;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.submit-btn:hover {
    background: #45a049;
}

/* ========== SECONDARY LANGUAGE ========== */

span.en {
    font-size: 0.9em;
    font-style: italic;
    color: #555;
}

/* ========================================================= */
/* ==================== MOBILE STYLES ====================== */
/* ========================================================= */

/*@media (max-width: 768px) {*/
@media (max-width: 600) {
    body {
        background-attachment: scroll;
        background-size: auto 200px;
    }

    .company-title {
        font-size: 22px;
    }

    .form-wrapper {
        padding: 20px 15px;
    }

    /* Stack table rows vertically on mobile */

    .form-table {
        display: block;
    }

    .form-table tr {
        display: block;
        margin-bottom: 20px;
        padding-bottom: 20px;
        border-bottom: 2px solid #999;
    }

    .form-table tr:last-child {
        border-bottom: none;
    }

    .form-table td {
        display: block;
        width: 100%;
        text-align: left;
        padding: 5px 0;
    }

    .form-table td:first-child {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .form-input,
    .form-select,
    .form-textarea {
        max-width: 100%;
    }

    span.en {
        display: block;
        font-size: 0.8em;
        margin-top: 2px;
    }
}

/* ========== VERY SMALL PHONES ========== */

@media (max-width: 480px) {

    .company-title {
        font-size: 20px;
    }

    .logo-img {
        width: 40px;
    }

    .form-title {
        font-size: 18px;
    }

    .submit-btn {
        font-size: 15px;
        padding: 10px 25px;
    }
}
