

body :not(.navbar) .container {
    max-width: 1100px;
    margin: 32px auto 0 auto;
    padding: 32px;
    background-color: #fafbfc;
    border-radius: 16px;
    box-shadow: 0 4px 32px rgba(40, 50, 65, 0.09);
}

body :not(.navbar) h2 {
    font-size: 3.6rem;
    font-weight: 700;
    color: #273246;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

hr {
    border: none;
    border-top: 2px solid #e7eaf3;
    margin: 32px 0 24px;
}

.col-md-4,
.col-md-6 {
    padding: 0 16px 24px 16px;
    min-width: 360px;
    max-width: 420px;
    box-sizing: border-box;
    
    overflow: visible !important;
}


label,
.control-label {
    font-size: 1.48rem;
    font-weight: 700;
    color: #273246;
    margin-bottom: 0.65rem;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-align: left;
}

.form-row-double .col-half label,
.form-row-double .col-half .control-label {
    font-size: 1.34rem;
    font-weight: 600;
    color: #273246;
    margin-bottom: 6px;
    display: block;
    text-align: left;
    white-space: nowrap;
}

label[for="VrstaPoslaID"],
label.control-label[for="VrstaPoslaID"] {
    min-width: 140px;
    display: inline-block;
    white-space: nowrap;
    text-align: justify;
}


input.form-control,
select.form-control,
textarea.form-control {
    font-size: 1.5rem;
    border-radius: 6px;
    border: 1px solid #d7dde6;
    background-color: #fff;
    padding: 10px 15px;
    margin-bottom: 12px;
    box-sizing: border-box;
}

    
    input.form-control:focus,
    select.form-control:focus,
    textarea.form-control:focus {
        border-color: #ef7b2f;
        box-shadow: 0 0 12px rgba(239, 123, 47, 0.5);
        outline: none;
    }


select.form-control {
    font-size: 1.18rem;
    padding: 12px 20px;
    border-radius: 10px;
    border: 1.8px solid #d1d5db;
    background-color: #fff;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width='12'%20height='7'%20viewBox='0 0 12 7'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M6 7L0 0h12L6 7z'%20fill='%23666'%20/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center !important;
    background-size: 12px 7px !important;
    cursor: pointer;
    width: auto !important;
    min-width: 100% !important;
    max-width: none !important;
    padding-right: 30px !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

   
    select.form-control:hover,
    select.form-control:focus {
        border-color: #ef7b2f;
        box-shadow: 0 0 10px rgba(239, 123, 47, 0.35);
        outline: none;
    }


    select.form-control[multiple],
    select.form-control[size] {
        min-height: 130px;
        padding: 10px 16px;
        font-size: 1.5rem;
        line-height: 1.5;
        border-radius: 8px;
        border-width: 1.5px;
    }

 
    select.form-control::-webkit-scrollbar {
        width: 8px;
    }

    select.form-control::-webkit-scrollbar-thumb {
        background-color: rgba(239, 123, 47, 0.4);
        border-radius: 6px;
    }

    select.form-control::-moz-focus-inner {
        border: 0;
    }

    input.form-control:hover,
    select.form-control:hover,
    textarea.form-control:hover {
        border-color: #ef7b2f;
    }


.btn-primary,
.btn-warning,
.btn-danger,
.btn-default {
    border-radius: 5px;
    padding: 12px 28px;
    font-size: 1.26rem;
    font-weight: 600;
    margin-top: 8px;
    margin-right: 8px;
    transition: background 0.2s;
    white-space: nowrap;
}

.btn-primary {
    background-color: #ef7b2f;
    border-color: #cc6f00;
    color: white;
}

    .btn-primary:hover {
        background-color: #d66700;
        border-color: #a65200;
    }

.btn-danger {
    background-color: #e55e4f;
    border-color: #ba443d;
    color: white;
}

    .btn-danger:hover {
        background-color: #c33a29;
    }

.btn-warning {
    background-color: #fdc938;
    border-color: #e6b200;
    color: #3d2906;
}

    .btn-warning:hover {
        background-color: #f2b500;
    }

.btn-default {
    background-color: #f5f8fa;
    border-color: #cbd2da;
    color: #34495e;
}

    .btn-default:hover {
        background-color: #e1e9f2;
        border-color: #aab6c4;
    }


.DocButtons {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}


.checkbox {
    padding-top: 8px;
    margin-bottom: 8px;
}

input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #ef7b2f;
    margin-top: 2px;
    margin-right: 6px;
}

.text-danger {
    color: #e55e4f;
    font-weight: 600;
    font-size: 1rem;
    margin-top: -4px;
}


@media (max-width: 900px) {
    .container {
        padding: 16px;
        max-width: 100%;
    }

    .col-md-4,
    .col-md-6 {
        min-width: 100%;
        padding: 0;
        margin-bottom: 20px;
        max-width: 100%;
    }

    .form-row-double {
        flex-direction: column;
        gap: 12px;
    }

    .form-actions {
        flex-direction: column;
        gap: 12px;
        margin-top: 16px;
    }
}

.form-row-double {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

    .form-row-double .col-half {
        flex: 1;
        min-width: 280px;
        max-width: 450px;
    }

.form-actions {
    margin-top: 32px;
    display: flex;
    flex-direction: row;
    gap: 18px;
}

.form-control {
    height: auto !important;
    min-height: 50px;
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 1.4;
    box-sizing: border-box;
}


select.form-control {
    height: auto !important;
    min-height: 50px;
}

    select.form-control option:hover,
    select.form-control option:focus {
        background-color: #ef7b2f;
        color: white;
    }

    select.form-control option:checked {
        background-color: #ef7b2f;
        color: white;
    }
.form-actions {
    margin-top: 32px;
    display: flex;
    flex-direction: row;
    gap: 18px;
}

    .form-actions .btn {
        min-width: 140px;
        padding: 12px 28px;
        text-align: center;
    }