/* Archive - Custom Styles */
/* Based on JSONArchive style but with distinct branding */

/* Import base fonts and icons - shared resources are okay */
/* Individual styling and colors are defined separately */

/* Body and Container */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

.bodyContainer,
.arc-body {
    font-family: 'Noto Sans', sans-serif;
}

/* Header Container */
.hdrContainer {
    padding: 20px 30px;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    box-sizing: border-box;
    width: 100%;
}

.hdrTitle {
    margin-bottom: 15px;
}

.hdrTxt {
    font-size: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.hdrFlag {
    font-size: 28px;
}

.notoEmoji {
    font-family: 'Noto Color Emoji', sans-serif;
}

/* Header Buttons */
.hdrBtns {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.hdrBtn {
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.hdrBtn a {
    color: white;
    text-decoration: none;
}

.matIcn {
    font-size: 20px;
    vertical-align: middle;
}

.hdrBtnHome {
    /* Specific home button styles if needed */
}

/* Legacy content wrapper — superseded by .arc-page in archive_shell.css */
.contentContainer {
    box-sizing: border-box;
    width: 100%;
}

/* Optional content wrapper for max-width constraint */
.contentWrapper {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Sans', sans-serif;
    color: #0f172a;
    margin-top: 0;
}

h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #084c64;
}

h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Forms */
.formLbl {
    display: block;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
    font-size: 14px;
}

.inpFld {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Noto Sans', sans-serif;
    transition: all 0.3s ease;
}

.inpPreField {
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
    margin-top: 15px;
}

/* Form Groups */
.formClientLeft {
    display: inline-block;
    width: 68%;
    vertical-align: top;
    padding-right: 20px;
}

.formClientRight {
    display: inline-block;
    width: 30%;
    vertical-align: top;
    text-align: right;
}

/* Buttons */
.inpSbmSmall {
    padding: 6px 12px;
    font-size: 13px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 90%;
    max-width: 600px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: #94a3b8;
    float: right;
    font-size: 32px;
    font-weight: bold;
    line-height: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #084c64;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Noto Sans', sans-serif;
    box-sizing: border-box;
}

.form-group small {
    display: block;
    color: #64748b;
    font-size: 12px;
    margin-top: 5px;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
    justify-content: flex-end;
}

.password-requirements {
    color: #64748b;
    font-size: 12px;
    margin-top: 5px;
    line-height: 1.5;
}

.group-checkbox {
    display: block;
    padding: 8px 0;
    cursor: pointer;
}

.group-checkbox input {
    width: auto;
    margin-right: 8px;
    cursor: pointer;
}

/* Utility Classes */
.uk-text-large {
    font-size: 22px;
    font-weight: 600;
}

/* Footer Bar */
.ftrBar,
footer.ftrBar {
    padding: 20px 30px;
    margin-top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
}

.ftrBarLft {
    font-weight: 500;
}

.ftrBarRght {
    display: flex;
    align-items: center;
    gap: 5px;
}

.matIcnFtrBar {
    font-size: 18px;
    vertical-align: middle;
}

/* Responsive Design */
@media (max-width: 768px) {
    .formClientLeft,
    .formClientRight {
        width: 100%;
        display: block;
        padding: 0;
    }

    .formClientRight {
        text-align: left;
        margin-top: 15px;
    }

    .contentContainer {
        padding: 15px;
    }
}

