@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: #f4f7fc;
    font-family: 'Century Gothic';
    padding: 20px;
    color: #1e293b;
}

.app-container {
    max-width: 1400px;
    margin: 0 auto;
}

.app-header {
    background: white;
    border-radius: 20px;
    padding: 20px 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    border: 1px solid #f1f5f9;
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-icon-wrapper {
    background: #e6fdf2;
    color: #059669;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.brand-text h1 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-text h1 .subtitle {
    font-size: 14px;
    font-weight: 500;
    color: #059669;
    background: #e6fbf2;
    padding: 2px 8px;
    border-radius: 6px;
}

.role-meta {
    margin-top: 2px;
}

.role-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-badge.admin {
    background: #e6fdf2;
    color: #059669;
    border: 1px solid #bbf7d0;
}

.role-badge.employee {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.app-header .header-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.btn {
    padding: 10px 24px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    background: #008037;
    color: white;
}

.btn-add-college {
    background: #008037;
    color: white;
    border: 1.5px solid #008037;
    border-radius: 10px;
    padding: 8px 18px;
    font-size: 13.5px;
    font-weight: 600;
}

.btn-add-college:hover {
    background: #006837;
    transform: translateY(-1px);
}

.btn-manage-employees {
    background: #008037;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 8px 18px;
    font-size: 13.5px;
    font-weight: 600;
}

.btn-manage-employees:hover {
    background: #006837;
    transform: translateY(-1px);
}

.btn-manage-admins {
    background: #008037;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 8px 18px;
    font-size: 13.5px;
    font-weight: 600;
}

.btn-manage-admins:hover {
    background: #006837;
    transform: translateY(-1px);
}

.btn-view-sheets {
    background: #008037;
    color: white;
    border: 1.5px solid #008037;
    border-radius: 10px;
    padding: 8px 18px;
    font-size: 13.5px;
    font-weight: 600;
}

.btn-view-sheets:hover {
    background: #006837;
    transform: translateY(-1px);
}

.btn-logout {
    background: #008037;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 8px 18px;
    font-size: 13.5px;
    font-weight: 600;
}

.btn-logout:hover {
    background: #006837;
    transform: translateY(-1px);
}

.btn-primary {
    background: #008037;
    color: white;
}

.btn-primary:hover {
    background: #006837;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 128, 55, 0.2);
}

.btn-success {
    background: #008037;
    color: white;
}

.btn-success:hover {
    background: #006837;
    transform: translateY(-2px);
}

.btn-danger {
    background: #ef4444;
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.btn-outline {
    background: #008037;
    color: white;
    border: 2px solid #008037;
}

.btn-outline:hover {
    background: #006837;
    border-color: #006837;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 13px;
}

.btn-warning {
    background: #008037;
    color: white;
}

.btn-warning:hover {
    background: #006837;
}

.btn-info {
    background: #008037;
    color: white;
}

.btn-info:hover {
    background: #006837;
}

.btn-purple {
    background: #008037;
    color: white;
}

.btn-purple:hover {
    background: #006837;
}

/* Metric Cards Styling */
.metrics-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.metric-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.metric-card::after {
    content: "";
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.015) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.metric-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.card-colleges .metric-icon {
    background: #e6fdf2;
    color: #059669;
}

.card-employees .metric-icon {
    background: #eff6ff;
    color: #2563eb;
}

.card-yet-to-start .metric-icon {
    background: #f1f3f4;
    color: #5f6368;
}

.card-ongoing .metric-icon {
    background: #e8f0fe;
    color: #1a73e8;
}

.card-completed .metric-icon {
    background: #e6fdf2;
    color: #059669;
}

.metric-details {
    flex-grow: 1;
}

.metric-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.metric-value-wrapper {
    display: inline-block;
    position: relative;
}

.metric-value {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.card-colleges .metric-value {
    color: #059669;
}

.card-employees .metric-value {
    color: #2563eb;
}

.card-yet-to-start .metric-value {
    color: #5f6368;
}

.card-ongoing .metric-value {
    color: #1a73e8;
}

.card-completed .metric-value {
    color: #059669;
}

.metric-underline {
    height: 3px;
    width: 70%;
    border-radius: 2px;
    margin-top: 6px;
}

.card-colleges .metric-underline {
    background: #059669;
}

.card-employees .metric-underline {
    background: #2563eb;
}

.card-yet-to-start .metric-underline {
    background: #5f6368;
}

.card-ongoing .metric-underline {
    background: #1a73e8;
}

.card-completed .metric-underline {
    background: #059669;
}

/* Colleges Overview Header & Controls */
.overview-section {
    margin-top: 15px;
}

.overview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.overview-title-group h2 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
}

.overview-title-group p {
    font-size: 13.5px;
    color: #64748b;
    margin-top: 2px;
}

.overview-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 14px;
}

.search-box input {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    padding: 10px 16px 10px 38px;
    font-size: 13.5px;
    width: 240px;
    outline: none;
    color: #334155;
    transition: 0.2s;
}

.search-box input:focus {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.08);
}

.layout-btn {
    background: white;
    border: 1px solid #e2e8f0;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    color: #64748b;
    transition: 0.2s;
}

.layout-btn:hover {
    background: #f8fafc;
    color: #334155;
}

.layout-btn.active {
    border-color: #059669;
    color: #059669;
    background: #f0fdf4;
}

.main-content-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 30px;
    align-items: start;
}

@media (max-width: 992px) {
    .main-content-layout {
        grid-template-columns: 1fr;
    }

    .dashboard-illustration-container {
        display: none;
    }
}

/* College Grid & Layout Modes */
.college-grid {
    transition: all 0.3s ease;
}

.college-grid.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.college-grid.list-layout {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.college-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.college-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.college-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.college-card-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.college-logo-letter {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e6fdf2;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.college-card-titles {
    display: flex;
    flex-direction: column;
}

.college-card-name {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.college-card-desc {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 1px;
}

.college-program-count-badge {
    background: #e6fdf2;
    color: #059669;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.college-programs-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.program-row {
    background: #f8fafc;
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-left: 3px solid #059669;
}

.program-row-name {
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
}

.program-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.program-status-pill.complete {
    background: #e6fdf2;
    color: #059669;
}

.program-status-pill.complete::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
}

.program-status-pill.ongoing {
    background: #e8f0fe;
    color: #1a73e8;
}

.program-status-pill.ongoing::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1a73e8;
}

.program-status-pill.pending {
    background: #fef7e0;
    color: #b06000;
}

.program-status-pill.pending::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ea580c;
}

.program-status-pill.yet-to-start {
    background: #f1f3f4;
    color: #5f6368;
}

.program-status-pill.yet-to-start::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #94a3b8;
}

.college-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #64748b;
    padding: 4px 0;
    border-bottom: 1px solid #f1f5f9;
}

.college-meta-employees {
    display: flex;
    align-items: center;
    gap: 6px;
}

.college-card-footer-buttons {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.college-card-footer-buttons .btn {
    flex-grow: 1;
    justify-content: center;
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 8px;
}

.btn-card-open {
    background: #008037;
    color: white;
    border: 1px solid #008037;
}

.btn-card-open:hover {
    background: #006837;
}

.btn-card-new {
    background: #008037;
    color: white;
    border: none;
}

.btn-card-new:hover {
    background: #006837;
}

.btn-card-delete {
    background: #fef2f2;
    color: #dc2626;
    border: none;
}

.btn-card-delete:hover {
    background: #fee2e2;
}

/* List Layout Customizations */
.college-grid.list-layout .college-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
}

.college-grid.list-layout .college-card-header {
    width: 22%;
}

.college-grid.list-layout .college-programs-list {
    width: 36%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

.college-grid.list-layout .program-row {
    padding: 6px 12px;
    margin-bottom: 0;
}

.college-grid.list-layout .college-card-meta {
    width: 15%;
    border-bottom: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 0;
}

.college-grid.list-layout .college-card-footer-buttons {
    width: 23%;
    margin-top: 0;
}

/* Side Illustration Container Styling */
.dashboard-illustration-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 20px;
}

.folder-illustration {
    background: transparent;
    border-radius: 24px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.svg-folder-container {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: white;
    border-radius: 24px;
    padding: 35px 40px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal h2 {
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal .field {
    margin-bottom: 16px;
}

.modal .field label {
    font-weight: 600;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
    color: #1a3550;
}

.modal .field label .required {
    color: #ef4444;
}

.modal .field input,
.modal .field select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #dce6f2;
    border-radius: 10px;
    font-size: 15px;
    transition: 0.2s;
    font-family: inherit;
}

.employee-feedback {
    display: none;
    padding: 12px 14px;
    border-radius: 10px;
    background: #d1e7dd;
    border: 1px solid #badbcc;
    color: #0f5132;
    margin-bottom: 16px;
    font-size: 14px;
}

.employee-feedback.error {
    background: #f8d7da;
    border-color: #f5c2c7;
    color: #842029;
}

.mismatch-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    background: #fff7ed;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    color: #78350f;
    margin-top: 10px;
}

.modal .field input:focus,
.modal .field select:focus {
    border-color: #008037;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    outline: none;
}

.modal .modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    justify-content: flex-end;
}

.modal .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.multi-select-container {
    position: relative;
    width: 100%;
}

.multi-select-container .selected-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid #dce6f2;
    border-radius: 10px;
    min-height: 48px;
    cursor: pointer;
    background: white;
    transition: 0.2s;
    align-items: center;
}

.multi-select-container .selected-options:hover {
    border-color: #008037;
}

.multi-select-container .selected-options .placeholder {
    color: #9aa8b9;
    font-size: 15px;
}

.multi-select-container .selected-options .tag {
    background: #e8f0fe;
    color: #1a3550;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.multi-select-container .selected-options .tag .remove-tag {
    cursor: pointer;
    color: #6b85a0;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
}

.multi-select-container .selected-options .tag .remove-tag:hover {
    color: #ef4444;
}

.multi-select-container .dropdown-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #dce6f2;
    border-radius: 10px;
    margin-top: 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.multi-select-container .dropdown-options.open {
    display: block;
}

.multi-select-container .dropdown-options .option-item {
    padding: 10px 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.15s;
    border-bottom: 1px solid #f0f4f9;
}

.multi-select-container .dropdown-options .option-item:hover {
    background: #f0f7ff;
}

.multi-select-container .dropdown-options .option-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #008037;
    cursor: pointer;
}

.multi-select-container .dropdown-options .option-item .option-label {
    font-size: 14px;
    font-weight: 500;
    color: #1a3550;
    cursor: pointer;
    flex: 1;
}

.form-container {
    display: none;
    background: white;
    border-radius: 20px;
    padding: 30px 35px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    margin-top: 20px;
    animation: fadeIn 0.4s ease;
}

.form-container.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5edf7;
}

.form-header .form-title {
    font-size: 22px;
    font-weight: 700;
}

.form-header .form-title small {
    font-weight: 400;
    color: #4b6a8b;
    font-size: 16px;
}

.form-header .form-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.program-selector {
    background: #f8faff;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: 1px solid #dce6f2;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.program-selector label {
    font-weight: 600;
    font-size: 14px;
}

.program-selector select {
    padding: 8px 16px;
    border-radius: 10px;
    border: 1px solid #dce6f2;
    font-size: 14px;
    min-width: 200px;
    background: white;
}

.program-selector .program-info {
    font-size: 13px;
    color: #4b6a8b;
    margin-left: auto;
}

.training-form .header-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    background: #f0f7ff;
    border-radius: 18px;
    padding: 22px 26px;
    margin-bottom: 35px;
    border: 1px solid #dbe7f5;
}

.training-form .header-grid .field {
    display: flex;
    flex-direction: column;
}

.training-form .header-grid label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #2c4a6e;
    margin-bottom: 5px;
}

.training-form .header-grid input {
    padding: 10px 14px;
    border: 1px solid #cbdae9;
    border-radius: 12px;
    font-size: 15px;
    background: white;
    transition: 0.2s;
}

.training-form .header-grid input:focus {
    border-color: #008037;
    box-shadow: 0 0 0 4px rgba(0, 128, 55, 0.12);
    outline: none;
}

.domain-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid #cbdae9;
    border-radius: 12px;
    min-height: 42px;
    background: white;
    align-items: center;
}

.domain-tags .tag {
    background: #e8f0fe;
    color: #1a3550;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.domain-tags .placeholder {
    color: #9aa8b9;
    font-size: 14px;
}

.training-form .section {
    margin-top: 30px;
    border-top: 3px solid #e5edf7;
    padding-top: 25px;
}

.training-form .section-title {
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    color: #0a1e32;
    flex-wrap: wrap;
}

.training-form .section-title i {
    color: #008037;
    font-size: 26px;
    width: 40px;
}

.training-form .section-status {
    margin-left: auto;
    font-size: 14px;
    padding: 6px 16px;
    border-radius: 30px;
    background: #e8edf5;
    font-weight: 600;
}

.training-form .section-status.complete {
    background: #d1fae5;
    color: #065f46;
}

.training-form .section-status.incomplete {
    background: #fee2e2;
    color: #991b1b;
}

.training-form .sub-section {
    background: #fafdff;
    border-radius: 18px;
    padding: 20px 24px 24px;
    margin-bottom: 22px;
    border: 1px solid #e2ebf6;
    transition: 0.2s;
}

.training-form .sub-section:hover {
    border-color: #b8cee8;
}

.training-form .sub-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.training-form .sub-section-header h3 {
    font-size: 17px;
    font-weight: 600;
    color: #0f2a47;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.training-form .sub-section-header h3 i {
    color: #008037;
    font-size: 18px;
    width: 28px;
}

.training-form .outcome-box {
    margin-top: 16px;
    padding: 16px 18px;
    border-radius: 14px;
    background: #eaf3fa;
    border: 1px solid rgba(0, 128, 55, 0.12);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #0f2a47;
}

.training-form .outcome-box i {
    color: #008037;
    margin-top: 2px;
    font-size: 16px;
}

.training-form .outcome-box strong {
    font-weight: 700;
}

.training-form .section-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.training-form .btn-sm {
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid #cbdae9;
    background: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.training-form .btn-sm:hover {
    background: #eef4fc;
    border-color: #008037;
}

.training-form .btn-sm.primary {
    background: #008037;
    border-color: #008037;
    color: white;
}

.training-form .btn-sm.primary:hover {
    background: #00662c;
}

.training-form .btn-sm.danger {
    background: #ef4444;
    border-color: #ef4444;
    color: white;
}

.training-form .btn-sm.danger:hover {
    background: #dc2626;
}

.training-form .toggle-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px 6px 8px;
    border-radius: 10px;
    transition: 0.15s;
    font-size: 14.5px;
    background: white;
    border: 1px solid transparent;
}

.training-form .toggle-item:hover {
    background: #f0f7fe;
    border-color: #dce6f2;
}

.training-form .toggle-item .label-text {
    font-weight: 500;
    color: #1a3550;
    flex: 1;
}

.training-form .toggle-switch {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    width: 44px;
    height: 24px;
    background: #cbd5e1;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
    flex-shrink: 0;
    border: none;
    padding: 0;
    outline: none;
}

.training-form .toggle-switch.active {
    background: #008037;
}

.training-form .toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.training-form .toggle-switch.active::after {
    left: 22px;
}

.training-form .toggle-item .toggle-status {
    font-size: 11px;
    font-weight: 700;
    min-width: 60px;
    color: #6b85a0;
    text-align: center;
}

.training-form .toggle-item .toggle-status.done {
    color: #008037;
}

.training-form .toggle-item .toggle-status.notdone {
    color: #ef4444;
}

.training-form .checklist {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 6px;
    margin-top: 8px;
}

.training-form .checklist .full-width {
    grid-column: 1 / -1;
}

.training-form .checklist-item-input {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px;
    border-radius: 10px;
    background: #f8faff;
    border: 1px solid #e5edf7;
}

.training-form .checklist-item-input .label-text {
    font-weight: 500;
    color: #1a3550;
    min-width: 140px;
    font-size: 14px;
}

.training-form .checklist-item-input input,
.training-form .checklist-item-input textarea,
.training-form .checklist-item-input select {
    border: 1px solid #d4e0ee;
    border-radius: 8px;
    padding: 7px 12px;
    font-size: 14px;
    background: white;
    flex: 1;
    min-width: 100px;
    font-family: inherit;
}

.training-form .checklist-item-input textarea {
    min-height: 50px;
    resize: vertical;
    width: 100%;
}

.training-form .flex-col {
    flex-direction: column;
    align-items: stretch;
}

.training-form .flex-col .label-text {
    margin-bottom: 4px;
}

.training-form .master-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    background: #f0f7ff;
    padding: 4px 12px 4px 8px;
    border-radius: 30px;
    border: 1px solid #dce6f2;
}

.training-form .master-toggle-wrapper .toggle-switch {
    width: 40px;
    height: 22px;
}

.training-form .master-toggle-wrapper .toggle-switch::after {
    width: 18px;
    height: 18px;
}

.training-form .master-toggle-wrapper .toggle-switch.active::after {
    left: 20px;
}

.training-form .master-toggle-wrapper .master-status {
    font-size: 11px;
    font-weight: 700;
    min-width: 60px;
    text-align: center;
}

.training-form .master-toggle-wrapper .master-status.done {
    color: #008037;
}

.training-form .master-toggle-wrapper .master-status.notdone {
    color: #ef4444;
}

.training-form .comment-box {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 2px dashed #dce6f2;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
}

.training-form .comment-box .comment-field {
    flex: 2;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.training-form .comment-box .comment-field label {
    font-weight: 600;
    font-size: 13px;
    color: #2c4a6e;
    display: flex;
    align-items: center;
    gap: 6px;
}

.training-form .comment-box .comment-field textarea {
    border: 1px solid #d4e0ee;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
    resize: vertical;
    min-height: 48px;
    background: #fafdff;
    transition: 0.2s;
    font-family: inherit;
}

.training-form .comment-box .comment-field textarea:focus {
    border-color: #008037;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
    background: white;
}

.training-form .comment-box .employee-selector {
    flex: 1;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.training-form .comment-box .employee-selector label {
    font-weight: 600;
    font-size: 13px;
    color: #2c4a6e;
    display: flex;
    align-items: center;
    gap: 6px;
}

.training-form .comment-box .employee-selector select {
    border: 1px solid #d4e0ee;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
    background: #fafdff;
    transition: 0.2s;
    font-family: inherit;
    width: 100%;
}

.training-form .comment-box .employee-selector select:focus {
    border-color: #008037;
    box-shadow: 0 0 0 3px rgba(0, 128, 55, 0.1);
    outline: none;
    background: white;
}

.training-form .comment-box .employee-selector select:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.training-form .comment-box .employee-checkboxes {
    max-height: none;
    overflow: visible;
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
    display: block;
}

.training-form .comment-box .employee-checkboxes label {
    font-weight: 400;
    font-size: 14px;
    color: #1a2a3a;
    margin: 0 !important;
}

.training-form .comment-box .employee-checkboxes input[type="checkbox"] {
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.training-form .comment-box .employee-checkboxes input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.training-form .badge-rule {
    background: #fff3cd;
    border-left: 6px solid #f0b400;
    padding: 14px 20px;
    border-radius: 12px;
    margin: 16px 0 6px;
    font-weight: 500;
}

.training-form .badge-rule i {
    color: #b47d00;
    margin-right: 10px;
}

.training-form .badge-rule.critical {
    background: #fce4e4;
    border-left-color: #dc2626;
    color: #c53030;
}

.training-form .badge-rule.critical i {
    color: #dc2626;
}

.training-form .badge-rule.success {
    background: #d1fae5;
    border-left-color: #008037;
    color: #065f46;
}

.training-form .badge-rule.success i {
    color: #008037;
}

.training-form .signature-area {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    background: #f7fbff;
    border-radius: 18px;
    padding: 22px 28px;
    margin-top: 35px;
    border: 1px solid #dce6f2;
    position: relative;
}

.training-form .signature-area .sig-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 150px;
}

.training-form .signature-area .sig-item label {
    font-size: 13px;
    font-weight: 600;
    color: #1a3550;
}

.training-form .signature-area .sig-item input {
    border: none;
    border-bottom: 2px solid #b8cde0;
    padding: 6px 10px;
    font-size: 16px;
    background: transparent;
    min-width: 170px;
}

.training-form .signature-area .sig-item input:focus {
    border-bottom-color: #008037;
    outline: none;
}

.training-form .signature-area .sig-item .sig-status {
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
}

.training-form .signature-area .sig-item .sig-status.pending {
    color: #ef4444;
}

.training-form .signature-area .sig-item .sig-status.signed {
    color: #008037;
}

.training-form .signature-status-banner {
    width: 100%;
    padding: 12px 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    margin-top: 10px;
}

.training-form .signature-status-banner.pending {
    background: #fee2e2;
    color: #991b1b;
    border: 2px solid #ef4444;
}

.training-form .signature-status-banner.complete {
    background: #d1fae5;
    color: #065f46;
    border: 2px solid #008037;
}

.training-form .deliverables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    background: #eaf1fb;
    border-radius: 16px;
    padding: 18px 24px;
    margin-top: 14px;
}

.training-form .deliverables-grid .item {
    font-weight: 600;
    font-size: 15px;
}

.training-form .deliverables-grid .item span {
    font-weight: 400;
    color: #1f3a5a;
}

.training-form .progress-bar {
    height: 4px;
    background: #e5edf7;
    border-radius: 4px;
    margin: 10px 0 20px;
    overflow: hidden;
}

.training-form .progress-bar .fill {
    height: 100%;
    background: #008037;
    border-radius: 4px;
    transition: 0.4s;
    width: 0%;
}

.training-form .stats {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #2c4a6e;
    margin-bottom: 10px;
}

.training-form .stats span {
    background: #f0f7ff;
    padding: 4px 16px;
    border-radius: 30px;
}

.training-form .stats .num {
    font-weight: 700;
    color: #1a2a3a;
}

.training-form .form-footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 35px 0 12px;
    justify-content: center;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6b85a0;
}

.empty-state i {
    font-size: 64px;
    color: #dce6f2;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 22px;
    color: #1a2a3a;
    margin-bottom: 10px;
}

/* ==========================================================================
   Modern Elegant Login Page Styling (Light & Forest Green Diagonal Split)
   ========================================================================== */

/* Login Body Styling */
.login-page-body {
    font-family: 'Poppins', 'Outfit', sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: #f4f6f8;
    position: relative;
    overflow-x: hidden;
    display: block;
}

.login-split-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    border-radius: 0;
    overflow: hidden;
}

/* Mobile Login Button - Hidden on Desktop */
.mobile-login-btn {
    display: none;
}

/* Left Brand Column */
.login-left-brand {
    position: relative;
    flex: 0 0 48%;
    min-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 40px 60px;
    overflow: visible;
    z-index: 10;
    border-radius: 30px 0 0 30px;
}

.login-left-brand::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(rgba(0, 176, 80, 0.08) 1px, transparent 1px),
        linear-gradient(135deg, #002214 0%, #000c07 100%);
    background-size: 24px 24px, 100% 100%;
    clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
    z-index: -2;
}

/* Left side background decorative lines/stripes */
.brand-graphics-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    pointer-events: none;
}

/* Diagonal green stripes next to panel */
.brand-graphics-left::before {
    display: none;
}



.login-brand-inner {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 400px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    text-align: left;
    flex: 1;
}

/* Brand Row: Logo + Text */
.brand-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 50%;
}

/* Brand Logo Diamond Badge (Left Column) */
.brand-logo-badge {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #00170d 0%, #000a06 100%);
    border: 1.5px solid rgba(0, 176, 80, 0.4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(45deg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-right: 8px;
    /* offset the rotation gap */
    flex-shrink: 0;
}

.brand-logo-badge .brand-logo-svg {
    transform: rotate(-45deg);
    width: 22px;
    height: 22px;
    display: block;
}

/* Card Logo Diamond Badge (Right Card) */
.card-logo-badge-diamond {
    width: 42px;
    height: 42px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(45deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-right: 8px;
    /* offset the rotation gap */
    flex-shrink: 0;
}

.card-logo-badge-diamond .card-logo-svg {
    transform: rotate(-45deg);
    width: 22px;
    height: 22px;
    display: block;
}

.brand-name-text {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 2px;
    font-family: 'Poppins', sans-serif;
}

.brand-subtitle-main {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin: 0;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    line-height: 1.25;
}

.system-word {
    color: #00b050;
    font-weight: 800;
}

.brand-tagline-subtitle {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 1px;
    margin: 0;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
}

.tagline-line {
    width: 24px;
    height: 3px;
    background: #00b050;
    border-radius: 2px;
    display: inline-block;
}

.tagline-end {
    color: #00b050;
}

/* Features List */
.brand-features-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.feature-item-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}

.feature-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 176, 80, 0.1);
    border: 1px solid rgba(0, 176, 80, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00b050;
    font-size: 16px;
    flex-shrink: 0;
}

.feature-content-info h3 {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 3px 0;
    font-family: 'Poppins', sans-serif;
}

.feature-content-info p {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
    line-height: 1.45;
    font-family: 'Poppins', sans-serif;
}

/* Illustration Container */
.brand-illustration-container {
    position: absolute;
    right: -400px;
    bottom: 1px;
    width: auto;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 0;
    z-index: 15;
}

.brand-illustration-container::before,
.brand-illustration-container::after {
    display: none;
}

.brand-illustration-img {
    width: 100%;
    max-width: 540px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 35px rgba(0, 176, 80, 0.25));
    animation: floatIllustration 4s ease-in-out infinite;
}

@keyframes floatIllustration {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* --- Floating Login Card (Right Side) --- */
.login-right-card-wrapper {
    flex: 1;
    background-color: #f4f6f8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    position: relative;
    border-radius: 0 30px 30px 0;
}

/* Subtle background diagonal stripes on the right */
.login-right-card-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 35%, rgba(0, 176, 80, 0.02) 35%, rgba(0, 176, 80, 0.02) 36%, transparent 36%, transparent 40%, rgba(0, 176, 80, 0.015) 40%, rgba(0, 176, 80, 0.015) 41%, transparent 41%);
    pointer-events: none;
    z-index: 1;
}

/* Green diagonal stripe on the right */
.login-right-card-wrapper::after {
    display: none;
}

/* Dot grids */
.dot-grid-bottom-right {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background-image: radial-gradient(#008037 1px, transparent 1px);
    background-size: 20px 20px;
    mask-image: radial-gradient(circle at bottom right, black 30%, transparent 85%);
    -webkit-mask-image: radial-gradient(circle at bottom right, black 30%, transparent 85%);
    opacity: 0.15;
    pointer-events: none;
}

.dot-grid-top-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background-image: radial-gradient(#008037 1px, transparent 1px);
    background-size: 20px 20px;
    mask-image: radial-gradient(circle at top left, black 30%, transparent 85%);
    -webkit-mask-image: radial-gradient(circle at top left, black 30%, transparent 85%);
    opacity: 0.15;
    pointer-events: none;
}

.login-card-floating {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 32px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    animation: loginFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes loginFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card Logo row */
.login-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

/* Brand Logo Image (Left Column) */
.brand-logo-image-left {
    height: 70px;
    width: auto;
    object-fit: contain;
    display: block;
}

.brand-logo-image-card {
    height: 38px;
    width: auto;
    object-fit: contain;
}

/* Welcome Badge Row */
.welcome-badge-row {
    display: none;
}

.welcome-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e6fdf2;
    border: 1px solid #bbf7d0;
    color: #008037;
}

.welcome-title {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    text-align: center;
    margin: 0 0 4px 0;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
}

.welcome-subtitle {
    font-size: 13.5px;
    color: #64748b;
    text-align: center;
    margin: 0 0 16px 0;
    font-family: 'Poppins', sans-serif;
}

/* Fields Styling */
.login-form-field {
    margin-bottom: 16px;
}

.field-label {
    display: block;
    color: #374151;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
}

.input-icon-group {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.form-input {
    width: 100%;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    padding: 14px 16px 14px 44px !important;
    height: 50px !important;
    color: #111827 !important;
    font-size: 14px !important;
    font-family: 'Poppins', sans-serif !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    box-shadow: none !important;
    font-weight: 500 !important;
}

.form-input:focus {
    border-color: #008037 !important;
    box-shadow: 0 0 0 3px rgba(0, 128, 55, 0.1) !important;
}

.input-badge {
    position: absolute;
    left: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 5;
}

/* Eye Password Toggle Custom Styling */
.eye-toggle-icon {
    position: absolute;
    right: 16px;
    color: #94a3b8;
    font-size: 15px;
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s;
    z-index: 5;
}

.eye-toggle-icon:hover {
    color: #475569;
}

/* Remember me & Forgot Password row */
.login-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    margin-bottom: 16px;
    font-size: 13.5px;
    font-family: 'Poppins', sans-serif;
}

.remember-me-container {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4b5563;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-left: 24px;
}

.remember-me-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.remember-me-checkbox {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 16px;
    width: 16px;
    background-color: #ffffff;
    border: 1.5px solid #008037;
    border-radius: 4px;
    transition: all 0.2s;
}

.remember-me-container:hover input~.remember-me-checkbox {
    border-color: #006837;
}

.remember-me-container input:checked~.remember-me-checkbox {
    background-color: #008037;
    border-color: #008037;
}

.remember-me-checkbox:after {
    content: "";
    position: absolute;
    display: none;
}

.remember-me-container input:checked~.remember-me-checkbox:after {
    display: block;
}

.remember-me-container .remember-me-checkbox:after {
    left: 4.5px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.forgot-password-link {
    color: #008037;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.forgot-password-link:hover {
    color: #006837;
    text-decoration: underline;
}

/* Login Submit Button */
.btn-login-submit {
    width: 100%;
    background: linear-gradient(135deg, #008037 0%, #006837 100%);
    border: none;
    border-radius: 10px;
    height: 50px;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 128, 55, 0.2);
}

.btn-login-submit:hover {
    background: linear-gradient(135deg, #009040 0%, #007840 100%);
    box-shadow: 0 6px 16px rgba(0, 128, 55, 0.3);
    transform: translateY(-1px);
}

.btn-login-submit:active {
    transform: translateY(1px);
}

/* OR Separator */
.login-or-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 14px 0;
}

.separator-line {
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.separator-text {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 1px;
}

/* First Time Login link */
.first-time-login-row {
    display: flex;
    justify-content: center;
    margin-bottom: 0;
}

.first-time-login-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #008037;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    font-family: 'Poppins', sans-serif;
}

.first-time-login-link:hover {
    color: #006837;
    text-decoration: underline;
}

.first-time-icon {
    color: #008037;
}

/* Footer text inside card */
.login-card-footer-info {
    text-align: center;
    margin-top: 24px;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 1px;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
}

/* Toast Message */
.login-toast {
    display: none;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%, 20px);
    background: #ffffff;
    border: 1px solid #008037;
    color: #1a202c;
    padding: 12px 24px;
    border-radius: 30px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: all 0.3s ease;
}

.login-toast.active {
    opacity: 1;
    transform: translate(-50%, 0);
}

.toast-icon {
    color: #008037;
    font-size: 16px;
}

/* Responsive splits */
@media (max-width: 900px) {
    .login-split-container {
        flex-direction: column;
    }

    .login-left-brand {
        padding: 60px 40px;
        flex: none;
        width: 100%;
        min-width: 0;
        justify-content: center;
        align-items: center;
    }

    .login-left-brand::before {
        clip-path: none;
        background: linear-gradient(135deg, #002214 0%, #000c07 100%);
    }

    .brand-graphics-left {
        display: none;
    }

    .login-brand-inner {
        align-items: center;
        text-align: center;
        max-width: 500px;
    }

    .brand-tagline-subtitle {
        justify-content: center;
    }

    .login-right-card-wrapper {
        padding: 60px 20px;
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .mobile-login-btn {
        display: flex;
        align-items: center;
        gap: 6px;
        position: fixed;
        top: 16px;
        right: 16px;
        z-index: 1001;
        padding: 10px 16px;
        background: #008037;
        color: white;
        border: none;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(0, 128, 55, 0.3);
        transition: all 0.2s;
    }

    .mobile-login-btn:hover {
        background: #006837;
        box-shadow: 0 4px 12px rgba(0, 128, 55, 0.4);
        transform: translateY(-2px);
    }

    .mobile-login-btn:active {
        transform: translateY(0);
    }

    .brand-subtitle-main {
        font-size: 28px;
        white-space: normal;
    }

    .app-header {
        flex-direction: column;
        align-items: stretch;
    }

    .form-container {
        padding: 16px;
    }

    .training-form .checklist {
        grid-template-columns: 1fr;
    }

    .training-form .header-grid {
        grid-template-columns: 1fr;
    }

    .training-form .sub-section-header {
        flex-direction: column;
        align-items: stretch;
    }

    .training-form .section-controls {
        justify-content: flex-start;
    }

    .training-form .comment-box {
        flex-direction: column;
    }

    .training-form .comment-box .comment-field,
    .training-form .comment-box .employee-selector {
        width: 100%;
    }

    .training-form .signature-area {
        flex-direction: column;
    }

    .training-form .section-title {
        font-size: 19px;
        flex-wrap: wrap;
    }

    .training-form .section-status {
        margin-left: 0;
    }

    .training-form .toggle-item {
        flex-wrap: wrap;
    }

    .training-form .checklist-item-input {
        flex-wrap: wrap;
    }

    .training-form .checklist-item-input .label-text {
        min-width: 100%;
    }

    .modal {
        padding: 24px 20px;
    }

    .college-grid {
        grid-template-columns: 1fr;
    }

    .program-selector {
        flex-direction: column;
        align-items: stretch;
    }

    .program-selector .program-info {
        margin-left: 0;
    }

    .modal .form-row {
        grid-template-columns: 1fr;
    }

    .login-card {
        padding: 35px 25px;
    }
}

.section-subtitle {
    display: inline-block;
    margin-right: 15px;
    font-size: 15px;
    color: #666;
    font-weight: 400;
    font-style: italic;
}

/* Activation Flow Additions */
.login-secondary-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 13px;
}

.login-link {
    color: #4a5568;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.login-link:hover {
    color: #006837;
    text-decoration: underline;
}

.action-separator {
    color: #cbd5e0;
    user-select: none;
}

.back-link-container {
    text-align: center;
    margin-top: 18px;
}

.login-link-back {
    color: #718096;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s;
}

.login-link-back:hover {
    color: #1a202c;
}

.form-section-title {
    color: #1a202c;
    font-size: 17px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.form-section-desc {
    color: #718096;
    font-size: 13px;
    text-align: center;
    margin-top: -15px;
    margin-bottom: 20px;
}

.info-msg-box {
    margin-bottom: 20px;
    padding: 14px;
    background-color: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    color: #b45309;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 500;
    text-align: center;
    animation: formItemFade 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hide Complete & Archive, All Done, and All Not Done buttons globally */
#btnArchive,
#btnArchiveFooter,
.training-form .btn-sm {
    display: none !important;
}

/* Custom styling for sub-checkboxes within Report Includes list */
.training-form .sub-checkbox {
    appearance: checkbox !important;
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
    width: 16px !important;
    height: 16px !important;
    background: white !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
}

.training-form .sub-checkbox::after {
    display: none !important;
}

/* Custom Employee Multi-Select Dropdown */
.employee-multiselect-container {
    position: relative;
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.employee-multiselect-container:hover {
    border-color: #94a3b8;
}

.employee-selected-trigger {
    min-height: 42px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    gap: 8px;
    flex-wrap: wrap;
}

.employee-placeholder {
    font-size: 13.5px;
    color: #64748b;
    user-select: none;
}

.employee-selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.emp-tag {
    background: #e6fdf2;
    color: #008037;
    border: 1px solid #bbf7d0;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    transition: background-color 0.2s;
}

.emp-tag:hover {
    background: #d1fae5;
}

.emp-tag-remove {
    cursor: pointer;
    font-weight: bold;
    color: #047857;
    transition: color 0.2s;
}

.emp-tag-remove:hover {
    color: #064e3b;
}

.dropdown-arrow {
    color: #64748b;
    font-size: 12px;
    margin-left: auto;
    transition: transform 0.2s;
}

.employee-multiselect-container.disabled {
    background-color: #f8fafc;
    border-color: #e2e8f0;
    cursor: not-allowed;
}

.employee-multiselect-container.disabled .employee-selected-trigger {
    cursor: not-allowed;
}

.employee-dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    margin-top: 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    padding: 4px 0;
}

.emp-option-item {
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.15s;
}

.emp-option-item:hover {
    background: #f1f5f9;
}

.emp-option-item input[type=checkbox] {
    accent-color: #008037;
    width: 16px;
    height: 16px;
}

.emp-option-item .option-label {
    font-size: 13.5px;
    color: #1e293b;
    font-weight: 500;
}

/* Prevent login page scrolling on desktop viewports */
@media (min-width: 901px) {
    .login-page-body {
        height: 100vh;
        overflow: hidden;
    }

    .login-split-container {
        height: 100vh;
        overflow: hidden;
    }
}