/* VIEW PAGE */

.view-page {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 25px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    color: #222;
}


/* TOP */

.view-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 25px;
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: var(--myjat-radius-1);
}

.view-top h1 {
    margin: 5px 0 10px;
    font-size: 30px;
}

.view-top small {
    color: #777;
}

.view-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}


/* BUTTONS */

.view-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.view-buttons a,
.view-buttons button,
.admin-button a,
.box button {
    display: inline-block;
    padding: 9px 14px;
    border: 0;
    border-radius: var(--myjat-radius-1);
    background: #222;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
}


/* LAYOUT */

.view-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 20px;
    align-items: start;
}

.view-side,
.view-main {
    min-width: 0;
}


/* BOX */

.box {
    margin-bottom: 20px;
    padding: 22px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: var(--myjat-radius-1);
    box-sizing: border-box;
}

.box h2 {
    margin: 0 0 20px;
    font-size: 19px;
}


/* PHOTO */

.photo-box {
    margin-bottom: 20px;
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: var(--myjat-radius-1);
    text-align: center;
}

.photo-box img {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: var(--myjat-radius-1);
    margin-bottom: 12px;
}

.no-photo {
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    background: #eee;
    border-radius: var(--myjat-radius-1);
    color: #777;
}


/* FORM */

.box form {
    display: grid;
    gap: 10px;
}

.box input {
    width: 100%;
    height: 40px;
    padding: 8px 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: var(--myjat-radius-1);
}


/* DATA */

.data-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.data-grid > div {
    padding: 12px;
    background: #f7f7f7;
    border-radius: var(--myjat-radius-1);
}

.data-grid .full {
    grid-column: 1 / -1;
}

.data-grid label {
    display: block;
    margin-bottom: 5px;
    color: #777;
    font-size: 13px;
}

.data-grid p {
    margin: 0;
    min-height: 20px;
    font-size: 15px;
    word-break: break-word;
}


/* STATUS */

.view-status {
    display: inline-block;
    padding: 4px 9px;
    border-radius: var(--myjat-radius-1);
    font-size: 12px;
    font-weight: 600;
}

.status-approved {
    background: #e7f7ed;
    color: #18733a;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-rejected {
    background: #f8d7da;
    color: #842029;
}


/* ADMIN BUTTON */

.admin-button {
    margin-top: 20px;
}


/* MOBILE */




/* PRINT */

