/* ============================================================
   UKVI SPONSOR COMPLIANCE MANAGEMENT SYSTEM
   Main Application Stylesheet
   ============================================================ */


/* ------------------------------------------------------------
   1. Application Theme
   ------------------------------------------------------------ */

:root {

    --sidebar-width: 270px;

    --navy: #102a43;
    --navy-dark: #081f33;
    --navy-light: #163b5c;

    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #eff6ff;

    --success: #16a34a;
    --success-light: #f0fdf4;

    --warning: #d97706;
    --warning-light: #fffbeb;

    --danger: #dc2626;
    --danger-light: #fef2f2;

    --purple: #7c3aed;
    --purple-light: #f5f3ff;

    --teal: #0d9488;
    --teal-light: #f0fdfa;

    --cyan: #0891b2;
    --cyan-light: #ecfeff;

    --indigo: #4f46e5;
    --indigo-light: #eef2ff;

    --orange: #ea580c;
    --orange-light: #fff7ed;

    --background: #f4f7fb;

    --surface: #ffffff;

    --border: #e5e7eb;

    --text: #1f2937;
    --muted: #64748b;
}


* {
    box-sizing: border-box;
}


html,
body {
    min-height: 100%;
}


body {

    margin: 0;

    background: var(--background);

    color: var(--text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
}


/* ------------------------------------------------------------
   2. Sidebar
   ------------------------------------------------------------ */

.app-sidebar {

    position: fixed;

    top: 0;
    left: 0;
    bottom: 0;

    width: var(--sidebar-width);

    background:
        linear-gradient(
            180deg,
            var(--navy-dark) 0%,
            var(--navy) 55%,
            #123b5d 100%
        );

    color: white;

    overflow-y: auto;

    z-index: 1000;

    box-shadow:
        4px 0 18px
        rgba(15, 23, 42, 0.08);
}


.brand-area {

    padding: 25px 22px;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.10);
}


.brand-icon {

    width: 46px;
    height: 46px;

    border-radius: 12px;

    background:
        rgba(255, 255, 255, 0.13);

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 23px;

    margin-right: 13px;
}


.brand-title {

    font-size: 17px;

    font-weight: 700;

    line-height: 1.2;
}


.brand-subtitle {

    display: block;

    margin-top: 4px;

    color: #a9c2d8;

    font-size: 11px;

    font-weight: 400;
}


.sidebar-section {

    padding: 20px 14px 5px;
}


.sidebar-heading {

    padding: 0 13px 8px;

    color: #8fb0ca;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}


.sidebar-link {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 11px 13px;

    margin-bottom: 4px;

    border-radius: 8px;

    color: #d6e2ec;

    text-decoration: none;

    font-size: 14px;

    transition:
        all 0.18s ease;
}


.sidebar-link i {

    width: 20px;

    font-size: 17px;

    text-align: center;
}


.sidebar-link:hover {

    background:
        rgba(255, 255, 255, 0.09);

    color: white;
}


.sidebar-link.active {

    background: var(--primary);

    color: white;

    box-shadow:
        0 5px 15px
        rgba(37, 99, 235, 0.25);
}


.sidebar-badge {

    margin-left: auto;

    min-width: 22px;

    padding: 2px 7px;

    border-radius: 20px;

    background: var(--danger);

    color: white;

    text-align: center;

    font-size: 10px;

    font-weight: 700;
}


/* ------------------------------------------------------------
   3. Main Application Area
   ------------------------------------------------------------ */

.app-main {

    margin-left: var(--sidebar-width);

    min-height: 100vh;
}


/* ------------------------------------------------------------
   4. Top Navigation Bar
   ------------------------------------------------------------ */

.app-topbar {

    height: 72px;

    background: white;

    border-bottom:
        1px solid
        var(--border);

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 30px;

    position: sticky;

    top: 0;

    z-index: 900;
}


.topbar-left {

    display: flex;

    align-items: center;

    gap: 15px;
}


.topbar-system-name {

    font-size: 15px;

    font-weight: 600;

    color: var(--text);
}


.topbar-environment {

    background: var(--success-light);

    color: var(--success);

    border-radius: 20px;

    padding: 4px 10px;

    font-size: 11px;

    font-weight: 700;
}


.topbar-right {

    display: flex;

    align-items: center;

    gap: 20px;
}


.notification-button {

    position: relative;

    color: var(--muted);

    font-size: 20px;

    cursor: pointer;
}


.notification-dot {

    position: absolute;

    top: 0;
    right: -1px;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--danger);

    border: 2px solid white;
}


.user-area {

    display: flex;

    align-items: center;

    gap: 10px;
}


.user-avatar {

    width: 38px;
    height: 38px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--primary-light);

    color: var(--primary);

    font-weight: 700;
}


.user-name {

    font-size: 13px;

    font-weight: 600;
}


.user-role {

    font-size: 11px;

    color: var(--muted);
}


/* ------------------------------------------------------------
   5. Page Content
   ------------------------------------------------------------ */

.app-content {

    padding: 30px;
}


.page-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 25px;
}


.page-header-content {

    display: flex;

    align-items: center;

    gap: 15px;
}


.page-header h1 {

    margin: 0 0 6px;

    color: #172033;

    font-size: 27px;

    font-weight: 700;
}


.page-header p {

    margin: 0;

    color: var(--muted);

    font-size: 14px;
}


.page-header-actions {

    display: flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;
}


/* ------------------------------------------------------------
   6. Colourful Information Icons
   ------------------------------------------------------------ */

.info-icon {

    width: 48px;
    height: 48px;

    border-radius: 12px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    font-size: 21px;
}


.info-icon-blue {

    background: var(--primary-light);

    color: var(--primary);
}


.info-icon-green {

    background: var(--success-light);

    color: var(--success);
}


.info-icon-purple {

    background: var(--purple-light);

    color: var(--purple);
}


.info-icon-amber {

    background: var(--warning-light);

    color: var(--warning);
}


.info-icon-red {

    background: var(--danger-light);

    color: var(--danger);
}


.info-icon-teal {

    background: var(--teal-light);

    color: var(--teal);
}


.info-icon-cyan {

    background: var(--cyan-light);

    color: var(--cyan);
}


.info-icon-indigo {

    background: var(--indigo-light);

    color: var(--indigo);
}


.info-icon-orange {

    background: var(--orange-light);

    color: var(--orange);
}


/* ------------------------------------------------------------
   7. Information Card Components
   ------------------------------------------------------------ */

.info-card-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 14px;
}


.info-card-heading {

    display: flex;

    align-items: center;

    gap: 13px;
}


.info-card-label {

    color: var(--muted);

    font-size: 12px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.4px;
}


.info-card-value {

    color: #172033;

    font-size: 30px;

    font-weight: 700;

    line-height: 1.1;

    margin-top: 4px;
}


.info-card-description {

    color: var(--muted);

    font-size: 12px;

    margin-top: 7px;
}


/* ------------------------------------------------------------
   8. Dashboard Card Grid
   ------------------------------------------------------------ */

.cards {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;

    margin-bottom: 25px;
}


.card {

    border: none;

    border-radius: 12px;

    background: white;

    padding: 21px;

    box-shadow:
        0 3px 14px
        rgba(15, 23, 42, 0.06);

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}


.card:hover {

    transform: translateY(-2px);

    box-shadow:
        0 8px 22px
        rgba(15, 23, 42, 0.09);
}


.card-title {

    color: var(--muted);

    font-size: 13px;

    font-weight: 600;
}


.card-number {

    margin-top: 8px;

    color: #172033;

    font-size: 31px;

    font-weight: 700;
}


/* ------------------------------------------------------------
   9. Reusable Statistic Cards
   ------------------------------------------------------------ */

.stat-card {

    position: relative;

    min-height: 185px;
}


.stat-card-top {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    margin-bottom: 18px;
}


.stat-card-link {

    width: 32px;
    height: 32px;

    border-radius: 8px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #f8fafc;

    color: #64748b;

    text-decoration: none;

    transition: all 0.15s ease;
}


.stat-card-link:hover {

    background: var(--primary-light);

    color: var(--primary);
}


.stat-card-content {

    flex: 1;
}


.stat-card-footer {

    margin-top: 15px;

    padding-top: 13px;

    border-top:
        1px solid
        #edf0f4;
}


.stat-card-footer a {

    display: flex;

    align-items: center;

    justify-content: space-between;

    color: var(--primary);

    text-decoration: none;

    font-size: 12px;

    font-weight: 600;
}


.stat-card-footer a:hover {

    color: var(--primary-dark);
}


/* ------------------------------------------------------------
   10. Panels
   ------------------------------------------------------------ */

.panel {

    background: white;

    border:
        1px solid
        #edf0f4;

    border-radius: 12px;

    padding: 25px;

    margin-bottom: 25px;

    box-shadow:
        0 3px 14px
        rgba(15, 23, 42, 0.05);
}


.panel h2,
.panel h3 {

    color: #172033;

    font-weight: 650;

    margin-top: 0;

    margin-bottom: 18px;
}


.panel h3 {

    font-size: 18px;
}


/* ------------------------------------------------------------
   11. Reusable Section Headers
   ------------------------------------------------------------ */

.section-title {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 20px;
}


.section-title h3 {

    margin: 0;
}


.section-title-text {

    flex: 1;
}


.section-title-text p {

    margin: 3px 0 0;

    color: var(--muted);

    font-size: 12px;
}


.section-title-actions {

    margin-left: auto;

    display: flex;

    align-items: center;

    gap: 10px;
}


/* ------------------------------------------------------------
   12. Forms
   ------------------------------------------------------------ */

.form-grid {

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 18px 22px;
}


.form-group {

    margin-bottom: 14px;
}


label {

    display: block;

    margin-bottom: 7px;

    color: #334155;

    font-size: 13px;

    font-weight: 600;
}


input,
select,
textarea {

    width: 100%;

    padding: 10px 12px;

    border:
        1px solid
        #cbd5e1;

    border-radius: 7px;

    background: white;

    color: #1e293b;

    font-size: 14px;

    transition:
        border-color 0.15s,
        box-shadow 0.15s;
}


input:focus,
select:focus,
textarea:focus {

    outline: none;

    border-color: var(--primary);

    box-shadow:
        0 0 0 3px
        rgba(37, 99, 235, 0.10);
}


input[type="file"] {

    background: #f8fafc;
}


textarea {

    resize: vertical;
}


.form-section {

    border-top:
        1px solid
        var(--border);

    margin-top: 26px;

    padding-top: 23px;
}


.form-group small {

    display: block;

    margin-top: 6px;

    color: var(--muted);

    font-size: 11px;
}


/* ------------------------------------------------------------
   13. Buttons
   ------------------------------------------------------------ */

.btn {

    border-radius: 7px;

    padding: 9px 16px;

    font-size: 13px;

    font-weight: 600;

    text-decoration: none;
}


.btn-primary {

    background: var(--primary);

    border-color: var(--primary);

    color: white;
}


.btn-primary:hover {

    background: var(--primary-dark);

    border-color: var(--primary-dark);

    color: white;
}


/* ------------------------------------------------------------
   14. Alerts and Messages
   ------------------------------------------------------------ */

.alert-success {

    padding: 13px 16px;

    margin-bottom: 20px;

    border:
        1px solid
        #bbf7d0;

    border-radius: 8px;

    background: var(--success-light);

    color: #166534;
}


.alert-error {

    padding: 13px 16px;

    margin-bottom: 20px;

    border:
        1px solid
        #fecaca;

    border-radius: 8px;

    background: var(--danger-light);

    color: #991b1b;
}


/* ------------------------------------------------------------
   15. Tables
   ------------------------------------------------------------ */

table {

    width: 100%;

    border-collapse: separate;

    border-spacing: 0;
}


thead th {

    padding: 12px 14px;

    background: #f8fafc;

    border-top:
        1px solid
        var(--border);

    border-bottom:
        1px solid
        var(--border);

    color: #475569;

    font-size: 12px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.3px;
}


tbody td,
tbody th {

    padding: 14px;

    border-bottom:
        1px solid
        #edf0f4;

    font-size: 13px;

    vertical-align: middle;
}


tbody tr:hover {

    background: #fafcff;
}


/* ------------------------------------------------------------
   16. Status Badges
   ------------------------------------------------------------ */

.status-badge {

    display: inline-flex;

    align-items: center;

    gap: 5px;

    padding: 5px 10px;

    border-radius: 20px;

    font-size: 11px;

    font-weight: 700;
}


.status-success {

    background: var(--success-light);

    color: var(--success);
}


.status-warning {

    background: var(--warning-light);

    color: var(--warning);
}


.status-danger {

    background: var(--danger-light);

    color: var(--danger);
}


.status-info {

    background: var(--primary-light);

    color: var(--primary);
}


/* ------------------------------------------------------------
   17. Empty States
   ------------------------------------------------------------ */

.empty-state-description {

    margin-top: 5px;

    color: var(--muted);

    font-size: 12px;
}


/* ------------------------------------------------------------
   18. Mobile Navigation Button
   ------------------------------------------------------------ */

.mobile-menu-button {

    display: none;

    border: none;

    background: transparent;

    color: var(--navy);

    font-size: 24px;
}


/* ------------------------------------------------------------
   19. Responsive Layout - Medium Screens
   ------------------------------------------------------------ */

@media (max-width: 1200px) {

    .cards {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* ------------------------------------------------------------
   20. Responsive Layout - Tablet
   ------------------------------------------------------------ */

@media (max-width: 900px) {

    .app-sidebar {

        transform:
            translateX(-100%);

        transition:
            transform 0.25s ease;
    }


    .app-sidebar.open {

        transform:
            translateX(0);
    }


    .app-main {

        margin-left: 0;
    }


    .mobile-menu-button {

        display: block;
    }


    .form-grid {

        grid-template-columns: 1fr;
    }


    .app-content {

        padding: 20px;
    }


    .user-name,
    .user-role {

        display: none;
    }

}


/* ------------------------------------------------------------
   21. Responsive Layout - Small Screens
   ------------------------------------------------------------ */

@media (max-width: 650px) {

    .cards {

        grid-template-columns: 1fr;
    }


    .page-header {

        align-items: flex-start;

        flex-direction: column;
    }


    .page-header-actions {

        width: 100%;
    }

}


/* ------------------------------------------------------------
   22. Responsive Layout - Mobile
   ------------------------------------------------------------ */

@media (max-width: 600px) {

    .app-topbar {

        padding: 0 16px;
    }


    .topbar-system-name {

        display: none;
    }


    .topbar-environment {

        display: none;
    }


    .app-content {

        padding: 16px;
    }


    .page-header h1 {

        font-size: 23px;
    }


    .panel {

        padding: 18px;
    }


    .section-title {

        align-items: flex-start;
    }

}

/* ------------------------------------------------------------
   23. Worker Register
   ------------------------------------------------------------ */

.worker-table-profile {

    display: flex;

    align-items: center;

    gap: 12px;
}


.worker-table-avatar {

    width: 44px;
    height: 44px;

    flex-shrink: 0;

    overflow: hidden;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        var(--primary-light);

    color:
        var(--primary);

    font-size: 13px;

    font-weight: 700;

    border:
        2px solid #dbeafe;
}


.worker-table-avatar img {

    width: 100%;
    height: 100%;

    object-fit: cover;
}


.worker-table-name {

    color: #172033;

    font-size: 13px;

    font-weight: 700;
}


.worker-table-subtext {

    margin-top: 2px;

    color: var(--muted);

    font-size: 11px;
}


.worker-reference {

    display: inline-flex;

    padding: 5px 9px;

    border-radius: 6px;

    background: #f1f5f9;

    color: #475569;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.3px;
}


.worker-contact {

    display: flex;

    align-items: center;

    gap: 7px;

    color: #475569;
}


.worker-contact i {

    color: #94a3b8;

    font-size: 13px;
}


.worker-view-button {

    border:
        1px solid #dbe3ec;

    background: white;

    color: var(--primary);

    white-space: nowrap;
}


.worker-view-button:hover {

    border-color:
        var(--primary);

    background:
        var(--primary-light);

    color:
        var(--primary-dark);
}


.worker-empty-cell {

    padding: 55px 20px !important;
}


.worker-empty-state {

    max-width: 420px;

    margin: 0 auto;

    text-align: center;
}


.worker-empty-icon {

    margin: 0 auto 15px;
}


.worker-empty-title {

    color: #172033;

    font-size: 16px;

    font-weight: 700;
}


.worker-empty-description {

    margin:
        6px auto 18px;

    color:
        var(--muted);

    font-size: 12px;

    line-height: 1.6;
}


/* Worker Register Responsive Behaviour */

@media (max-width: 900px) {

    .worker-table {

        min-width: 850px;
    }

}

/* ------------------------------------------------------------
   24. Reusable Worker Avatar
   ------------------------------------------------------------ */

.worker-avatar {

    flex-shrink: 0;

    overflow: hidden;

    border-radius: 50%;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    background:
        var(--primary-light);

    color:
        var(--primary);

    border:
        2px solid #dbeafe;

    font-weight: 700;

    text-transform: uppercase;
}


.worker-avatar img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


.worker-avatar-small {

    width: 36px;
    height: 36px;

    font-size: 11px;
}


.worker-avatar-medium {

    width: 46px;
    height: 46px;

    font-size: 13px;
}


.worker-avatar-large {

    width: 88px;
    height: 88px;

    font-size: 24px;

    border-width: 3px;
}


.worker-avatar-xlarge {

    width: 120px;
    height: 120px;

    font-size: 30px;

    border-width: 4px;
}

/* ------------------------------------------------------------
   25. Worker Hub
   ------------------------------------------------------------ */


/* Worker Profile Header */

.worker-profile-card {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding: 28px;

    margin-bottom: 25px;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f8fbff 100%
        );

    border:
        1px solid
        #e5eaf0;

    border-radius: 14px;

    box-shadow:
        0 4px 18px
        rgba(15, 23, 42, 0.06);
}


.worker-profile-main {

    display: flex;

    align-items: center;

    gap: 22px;

    min-width: 0;
}


.worker-profile-identity {

    min-width: 0;
}


.worker-profile-name-row {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 12px;
}


.worker-profile-name-row h1 {

    margin: 0;

    color: #172033;

    font-size: 27px;

    font-weight: 700;
}


.worker-profile-reference {

    display: flex;

    align-items: center;

    gap: 7px;

    margin-top: 8px;

    color: #64748b;

    font-size: 12px;

    font-weight: 600;
}


.worker-profile-reference i {

    color: var(--primary);
}


.worker-profile-contact {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px 20px;

    margin-top: 13px;

    color: #475569;

    font-size: 12px;
}


.worker-profile-contact span {

    display: inline-flex;

    align-items: center;

    gap: 6px;
}


.worker-profile-contact i {

    color: #94a3b8;
}


.worker-profile-actions {

    display: flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;
}


.worker-secondary-button {

    border:
        1px solid
        #dbe3ec;

    background: white;

    color: #475569;
}


.worker-secondary-button:hover {

    border-color: #cbd5e1;

    background: #f8fafc;

    color: #172033;
}


/* Personal Detail Grid */

.worker-details-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 1px;

    overflow: hidden;

    background: #e9eef4;

    border:
        1px solid
        #e9eef4;

    border-radius: 10px;
}


.worker-detail-item {

    display: flex;

    align-items: flex-start;

    gap: 13px;

    min-height: 90px;

    padding: 18px;

    background: white;
}


.worker-detail-wide {

    grid-column:
        span 2;
}


.worker-detail-icon {

    width: 38px;
    height: 38px;

    border-radius: 9px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    font-size: 16px;
}


.worker-detail-label {

    margin-bottom: 4px;

    color: var(--muted);

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.35px;
}


.worker-detail-value {

    color: #253247;

    font-size: 13px;

    line-height: 1.6;

    overflow-wrap: anywhere;
}


/* Address History */

.address-history-address {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    line-height: 1.55;
}


.address-history-address > i {

    margin-top: 2px;

    color: var(--orange);

    font-size: 16px;
}


/* Compliance Modules */

.compliance-module-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;
}


.compliance-module {

    display: flex;

    align-items: center;

    gap: 14px;

    min-height: 82px;

    padding: 15px;

    border:
        1px solid
        #e7ecf2;

    border-radius: 10px;

    background: white;

    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.15s ease;
}


.compliance-module:hover {

    border-color: #cfd9e5;

    box-shadow:
        0 5px 14px
        rgba(15, 23, 42, 0.06);

    transform:
        translateY(-1px);
}


.compliance-module-content {

    flex: 1;

    min-width: 0;
}


.compliance-module-title {

    color: #253247;

    font-size: 13px;

    font-weight: 700;
}


.compliance-module-status {

    margin-top: 3px;

    color: var(--muted);

    font-size: 11px;
}


.compliance-module-arrow {

    color: #c0cad6;

    font-size: 14px;
}


/* ------------------------------------------------------------
   Worker Hub Responsive Layout
   ------------------------------------------------------------ */

@media (max-width: 1000px) {

    .worker-profile-card {

        align-items: flex-start;

        flex-direction: column;
    }


    .worker-profile-actions {

        width: 100%;
    }


    .compliance-module-grid {

        grid-template-columns: 1fr;
    }

}


@media (max-width: 700px) {

    .worker-profile-main {

        align-items: flex-start;

        flex-direction: column;
    }


    .worker-profile-actions {

        align-items: stretch;

        flex-direction: column;
    }


    .worker-profile-actions .btn {

        width: 100%;

        text-align: center;
    }


    .worker-details-grid {

        grid-template-columns: 1fr;
    }


    .worker-detail-wide {

        grid-column: span 1;
    }


    .worker-profile-name-row {

        align-items: flex-start;

        flex-direction: column;
    }

}

/* ------------------------------------------------------------
   26. Worker Photograph Editor
   ------------------------------------------------------------ */

.worker-photo-editor {

    display: flex;

    align-items: center;

    gap: 28px;

    padding: 20px;

    border:
        1px solid
        #e7ecf2;

    border-radius: 10px;

    background: #fafcff;
}


.worker-photo-current {

    flex-shrink: 0;
}


.worker-photo-controls {

    flex: 1;

    min-width: 0;
}


.worker-photo-controls .form-group {

    margin-bottom: 10px;
}


.worker-photo-status {

    display: flex;

    align-items: center;

    gap: 7px;

    margin-top: 10px;

    color: var(--success);

    font-size: 12px;

    font-weight: 600;
}


.worker-photo-status-muted {

    color: var(--muted);
}


.worker-form-actions {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 25px;

    padding-top: 20px;

    border-top:
        1px solid
        var(--border);
}


@media (max-width: 650px) {

    .worker-photo-editor {

        align-items: flex-start;

        flex-direction: column;
    }


    .worker-form-actions {

        align-items: stretch;

        flex-direction: column;
    }


    .worker-form-actions .btn {

        width: 100%;

        text-align: center;
    }

}

/* ------------------------------------------------------------
   27. Employment Forms
   ------------------------------------------------------------ */

.employment-worker-context {

    display: flex;

    align-items: center;

    gap: 13px;

    margin-bottom: 22px;

    padding: 14px 17px;

    background: var(--primary-light);

    border:
        1px solid #dbeafe;

    border-radius: 10px;
}


.employment-worker-name {

    color: #172033;

    font-size: 14px;

    font-weight: 700;
}


.employment-worker-reference {

    margin-top: 3px;

    color: var(--muted);

    font-size: 11px;

    font-weight: 600;
}


.employment-form-actions {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 20px;

    padding: 20px 0;
}


@media (max-width: 650px) {

    .employment-form-actions {

        align-items: stretch;

        flex-direction: column;
    }


    .employment-form-actions .btn {

        width: 100%;

        text-align: center;
    }

}