.ohpd-wrap {
    max-width: 1440px;
}

.ohpd-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 16px;
    margin: 18px 0 28px;
}

.ohpd-card {
    background: #fff;
    border: 1px solid #dcdcde;
    border-left: 4px solid #2271b1;
    border-radius: 4px;
    padding: 16px;
    min-height: 76px;
}

.ohpd-card.warning {
    border-left-color: #dba617;
    background: #fff8e5;
}

.ohpd-card span {
    display: block;
    color: #646970;
    font-size: 13px;
    margin-bottom: 8px;
}

.ohpd-card strong {
    display: block;
    color: #1d2327;
    font-size: 24px;
    line-height: 1.2;
}

.ohpd-layout {
    display: grid;
    grid-template-columns: 360px minmax(720px, 1fr);
    gap: 22px;
    align-items: start;
}

.ohpd-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(360px, 1fr));
    gap: 18px;
    margin: 18px 0;
}

.ohpd-form {
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    padding: 16px;
}

.ohpd-form.compact {
    max-width: none;
}

.ohpd-form label,
.ohpd-public-form label {
    display: block;
    font-weight: 600;
    margin: 0 0 12px;
}

.ohpd-form input,
.ohpd-form select,
.ohpd-form textarea,
.ohpd-public-form input,
.ohpd-public-form select,
.ohpd-public-form textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-top: 5px;
}

.ohpd-form textarea,
.ohpd-public-form textarea {
    min-height: 86px;
}

.ohpd-table-wrap {
    min-width: 0;
}

.ohpd-filters {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 0 12px;
    padding: 12px;
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 4px;
}

.ohpd-filters input,
.ohpd-filters select {
    min-width: 140px;
}

.ohpd-status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    background: #f0f0f1;
    font-weight: 600;
}

.ohpd-status.odendi {
    background: #d1e7dd;
    color: #0a3622;
}

.ohpd-status.kismi {
    background: #fff3cd;
    color: #664d03;
}

.ohpd-status.gecikmis {
    background: #f8d7da;
    color: #58151c;
}

.ohpd-warn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #dba617;
    color: #1d2327;
    font-weight: 700;
}

.ohpd-inline-form {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    margin-top: 8px;
}

.ohpd-inline-form input {
    width: 180px;
}

.ohpd-public-form {
    max-width: 720px;
    padding: 20px;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    background: #fff;
}

.ohpd-public-form button {
    min-height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 4px;
    background: #2271b1;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.ohpd-public-message {
    max-width: 720px;
    margin: 0 0 16px;
    padding: 12px 14px;
    border-left: 4px solid #00a32a;
    background: #edfaef;
}
