/* =========================
   PRIKAZ FORM BASE
========================= */

.prikaz-form {
    width:100%;
    min-width:600px;
    box-sizing:border-box;
    background:#fff;
    border:1px solid #d9d9d9;
    padding:20px;
    border-radius:3px;
    margin:15px 0;
}


.prikaz-form * {
    box-sizing:border-box;
}


.prikaz-btn {
    display:block;
    margin:28px auto 0;
    padding:12px 42px;
    background:#304622;
    color:#fff;
    border:2px solid #222;
    border-radius:4px;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
}


.prikaz-btn:hover {
    background:#3b5629;
}


.prikaz-btn:active {
    transform:translateY(1px);
}


/* =========================
   HEADER FORM
========================= */


.prikaz-header {

    width:100%;

    display:flex;

    align-items:center;

    justify-content:space-between;

    background:#717171;

    color:#fff;

    padding:18px 30px;

}



.prikaz-header-left,
.prikaz-header-right {

    flex:1;

    display:flex;

    flex-direction:column;

    gap:4px;

}



.prikaz-header-left {

    text-align:right;

}



.prikaz-header-right {

    text-align:left;

}



.prikaz-header-logo {

    width:120px;

    min-width:120px;

    display:flex;

    justify-content:center;

    align-items:center;

    margin:0 24px;

}



.prikaz-header-logo img {

    width:90px !important;

    max-width:90px !important;

    height:auto !important;

    display:block;

}



.prikaz-header-left div,
.prikaz-header-right div {

    font-size:15px;

    font-weight:600;

    line-height:1.35;

    text-transform:uppercase;

}

/* =========================
   FORM BODY
========================= */


.prikaz-body {

    padding-top:24px;

}



.prikaz-section {

    width:100%;

    margin-bottom:24px;

    padding:0 24px;

}



.prikaz-section-title {

    width:100%;

    margin-bottom:20px;

    padding:12px 18px;

    background:linear-gradient(#f4f4f4,#e9e9e9);

    border:1px solid #d4d4d4;

    color:#222;

    font-size:18px;

    font-weight:700;

}



.prikaz-card {

    width:100%;

    background:#fff;

    border:1px solid #ddd;

    border-radius:3px;

    padding:20px;

}



/* =========================
   INPUT FIELDS
========================= */


.prikaz-field {

    display:flex;

    flex-direction:column;

    width:100%;

    margin-bottom:18px;

}



.prikaz-label {

    margin-bottom:8px;

    font-size:14px;

    font-weight:700;

    color:#333;

}



.prikaz-input {

    width:100%;

    height:42px;

    padding:0 12px;

    border:1px solid #c7c7c7;

    border-radius:3px;

    background:#fff;

    font-size:14px;

}



.prikaz-input:focus {

    outline:none;

    border-color:#304622;

    box-shadow:0 0 0 3px rgba(48,70,34,.15);

}



select.prikaz-input {

    cursor:pointer;

}



.prikaz-textarea {

    width:100%;

    min-height:180px;

    resize:vertical;

    padding:12px;

    border:1px solid #c7c7c7;

    border-radius:3px;

    background:#fff;

    font-family:Arial,Helvetica,sans-serif;

    font-size:14px;

    line-height:1.5;

}



.prikaz-textarea:focus {

    outline:none;

    border-color:#304622;

    box-shadow:0 0 0 3px rgba(48,70,34,.15);

}

/* =========================
   VIEW DOCUMENT
========================= */


.prikaz-document {

    width:100%;

    max-width:850px;

    margin:20px auto;

    background:#fff;

    border:1px solid #cfcfcf;

    padding:50px 70px;

    box-sizing:border-box;

    color:#111;

    font-family:"Times New Roman",serif;

}



/* =========================
   DOCUMENT HEADER
========================= */


.prikaz-document-header {

    display:flex;

    align-items:center;

    justify-content:center;

    gap:25px;

    margin-bottom:45px;

    font-size:13px;

    font-weight:700;

    text-align:center;

    text-transform:uppercase;

    line-height:1.5;

}



.prikaz-document-logo {

    width:85px;

    height:85px;

}



.prikaz-document-logo img {

    width:100%;

    height:100%;

    object-fit:contain;

}



/* =========================
   TITLE
========================= */


.prikaz-document-title {

    text-align:center;

    font-size:26px;

    font-weight:700;

    letter-spacing:3px;

    margin-bottom:25px;

}



.prikaz-document-number {

    text-align:center;

    font-size:16px;

    margin-bottom:10px;

}



.prikaz-document-meta {

    text-align:center;

    font-size:14px;

    margin-bottom:40px;

}



/* =========================
   DOCUMENT CONTENT
========================= */


.prikaz-document-section {

    margin-bottom:30px;

}



.prikaz-document-section-title {

    text-align:center;

    font-size:15px;

    font-weight:700;

    text-transform:uppercase;

    margin-bottom:15px;

}



.prikaz-document-text {

    font-size:15px;

    line-height:1.8;

    text-align:justify;

    white-space:pre-line;

}



.prikaz-document-text::first-letter {

    font-weight:400;

}



/* =========================
   ORDER BLOCK
========================= */


.prikaz-order-list {

    margin-top:15px;

    padding-left:25px;

}



.prikaz-order-list div {

    margin-bottom:12px;

    font-size:15px;

    line-height:1.7;

}

/* =========================
   SIGNATURE
========================= */


.prikaz-signature {

    margin-top:70px;

    display:flex;

    justify-content:flex-end;

}



.prikaz-signature-block {

    width:320px;

    text-align:center;

    font-size:15px;

    line-height:1.6;

}



.prikaz-signature-name {

    margin-top:25px;

    margin-bottom:45px;

    font-weight:700;

}



.prikaz-signature-line {

    border-top:1px solid #111;

    padding-top:8px;

    font-size:13px;

}





/* =========================
   FOOTER
========================= */


.prikaz-document-footer {

    margin-top:50px;

    padding-top:15px;

    border-top:1px solid #ccc;

    text-align:center;

    font-size:12px;

    color:#555;

}





/* =========================
   PHPBB IMAGE FIX
========================= */


.prikaz-form img,
.prikaz-document img {

    max-width:none;

}



.prikaz-form .prikaz-header-logo img {

    width:90px !important;

    max-width:90px !important;

    height:auto !important;

}



.prikaz-document .prikaz-document-logo img {

    width:85px !important;

    height:85px !important;

    max-width:85px !important;

}





/* =========================
   MOBILE
========================= */


@media(max-width:800px){


.prikaz-form {

    min-width:0;

}



.prikaz-header {

    flex-direction:column;

    gap:20px;

}



.prikaz-header-left,
.prikaz-header-right {

    text-align:center;

}



.prikaz-section {

    padding:0;

}



.prikaz-document {

    padding:25px;

}



.prikaz-document-header {

    flex-direction:column;

}



.prikaz-signature {

    justify-content:center;

}


}

/* =========================
   ORDER DOCUMENT
========================= */

.order-document {

    width:720px;
    min-height:1000px;

    margin:20px auto;

    background:#fff;

    border:1px solid #ccc;

    padding:60px 80px;

    box-sizing:border-box;

    font-family:"Times New Roman", serif;

    color:#000;

}



/* =========================
   HEADER
========================= */

.order-header {

    display:flex;

    flex-direction:column;

    align-items:center;

    text-align:center;

    margin-bottom:35px;

}


.order-logo {

    width:120px;

    margin-bottom:12px;

}


.order-logo img {

    width:100%;

    display:block;

}


.order-agency {

    font-size:18px;

    font-weight:700;

    line-height:1.3;

    text-transform:uppercase;

}



/* =========================
   TITLE
========================= */


.order-title {

    text-align:center;

    font-size:24px;

    font-weight:700;

    letter-spacing:8px;

    margin:25px 0 35px;

}



/* =========================
   NUMBER DATE
========================= */


.order-info {

    display:flex;

    justify-content:space-between;

    align-items:flex-end;

    width:100%;

    margin-bottom:35px;

}


.order-date,
.order-number {

    width:220px;

    text-align:center;

    font-size:15px;

    border-bottom:1px solid #000;

    padding-bottom:5px;

}


.order-number {

    width:190px;

}



/* =========================
   NAME + CONTENT
========================= */


.order-name {

    text-align:center;

    font-size:18px;

    font-weight:700;

    text-transform:uppercase;

    margin:0 0 5px;

    line-height:1.2;

    overflow-wrap:break-word;

    word-break:break-word;

}



.order-content {

    font-size:16px;

    line-height:1.5;

    text-align:justify;

    white-space:pre-line;

    text-indent:35px;

    margin:0;

}

.order-body {

    margin:0;

    padding:0;

}



/* =========================
   SIGNATURE
========================= */


.order-sign {
    margin-top:100px;
    margin-left:auto;
    width:280px;
    text-align:center;
    font-size:15px;
    position:relative;
}


.order-stamp {

    width:200px;

    height:auto;

    display:block;

    margin:10px auto -20px;

    position:relative;

    z-index:2;

}


.order-sign-line {

    border-top:1px solid #000;

    padding-top:8px;

    font-size:13px;

}



/* =========================
   MOBILE
========================= */


@media(max-width:800px){

.order-document {

    width:100%;

    padding:30px;

}

}