/* Body styles managed by admin_style.css and main-content inline styles */
.document {
    font-family: Arial, sans-serif;
    color: #000;
    background: #fff;
    width: 210mm;
    min-height: 297mm;
    padding: 20mm;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    box-sizing: border-box;
    position: relative;
}

.top-secret {
    text-align: center;
    font-size: 10pt;
    margin-bottom: 20px;
}

.bottom-secret {
    text-align: center;
    font-size: 10pt;
    margin-top: 50px;
}

.header {
    position: relative;
    margin-bottom: 30px;
}

.header-left {
    font-size: 9pt;
    line-height: 1.2;
    text-transform: uppercase;
    float: left;
    border-bottom: 1px solid #000;
    padding-bottom: 2px;
}

.header-right {
    font-size: 9pt;
    float: right;
    margin-top: 20px;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.title-container {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.title {
    font-size: 11pt;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
}

.subtitle {
    font-size: 10pt;
    text-transform: uppercase;
    margin-top: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 10pt;
    margin-bottom: 20px;
}

th, td {
    border: 1px solid #000;
    padding: 6px 4px;
    text-align: center;
    vertical-align: middle;
}

th {
    font-weight: normal;
}

.col-no { width: 30px; }
.col-spesialis { text-align: left; padding-left: 5px; }

.sub-item {
    text-align: left;
    padding-left: 5px;
}

.footer {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 10pt;
}

.notes {
    line-height: 1.4;
}

.signature {
    text-align: center;
    width: 300px;
}

.signature p {
    margin: 2px 0;
}

.signature-date {
    margin-bottom: 10px;
}

.signature-space {
    height: 70px;
}

.signature-name {
    text-decoration: underline;
}

/* Make it print perfectly */
@media print {
    body {
        background: none;
        padding: 0;
    }
    .app-layout {
        display: block !important;
        height: auto !important;
        min-height: auto !important;
    }
    .main-content {
        display: block !important;
        overflow: visible !important;
        height: auto !important;
        max-width: 100% !important;
        padding: 0 !important;
        background: none !important;
    }
    .document {
        width: 100%;
        min-height: auto;
        padding: 0;
        margin: 0;
        box-shadow: none;
    }
    .no-print {
        display: none !important;
    }
}
