@font-face {
    font-family: "markot";
    src: url("/MarkOT-Light.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "markot";
    src: url("/MarkOT-LightItalic.otf") format("opentype");
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: "markot";
    src: url("/MarkOT.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "markot";
    src: url("/MarkOT-Italic.otf") format("opentype");
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: "markot";
    src: url("/MarkOT-Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "markot";
    src: url("/MarkOT-MediumItalic.otf") format("opentype");
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: "markot";
    src: url("/MarkOT-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "markot";
    src: url("/MarkOT-BoldItalic.otf") format("opentype");
    font-weight: 700;
    font-style: italic;
}


*:not(.fa):not([class*="fa-"]):not(i[class*="fa-"]):not(svg):not(path) {
    font-family: "markot", sans-serif !important;
}

#EntityFormPanel {
    border: none;
    background: white;
}

#InsertButton {
    width: min(100%, 20rem);
    height: 3rem;
    font-size: large;
    margin-left: 3rem;
}

#InsertButton:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.crmEntityFormView label,
.form-control {
    background-color: transparent !important;
}

#apply-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding-top: 2rem;
    border: none;
    overflow: hidden;
}

@media screen and (max-width: 768px) {
    #InsertButton {
        display: block;
        margin: 0 auto;
        width: min(90%, 20rem);
    }
}

@media screen and (min-width: 769px) {
    .title-container {
        padding-left: 1.5rem;
        /* padding-left: 1rem */
    }
}

input::placeholder,
textarea::placeholder {
    color: #bbbbbb !important;
    opacity: 1 !important;
    /* Ensures the color is applied */
}

.form-control,
input.form-control,
.form-select {
    border-radius: 6px;
    border: 1px solid #cccccc;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.form-subtitle {
    font-size: small;
    margin-bottom: 0;
}

.cell.zero-cell:empty {
    display: none;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a2530 100%);
    color: white;
    padding: 80px 0;
    margin-bottom: 40px;
}

.sort-controls {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.sort-btn {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 8px 16px;
    margin-right: 10px;
    margin-bottom: 10px;
    background: white;
    transition: all 0.2s ease;
}

.sort-btn:hover,
.sort-btn.active {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.no-jobs {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 0;
}

.apply-btn {
    background-color: var(--portalThemeColor9);
    margin-top: 20px;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    color: white;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

@media (max-width: 768px) {
    .apply-btn {
        width: 100%;
    }
}

.apply-btn:hover {
    background-color: var(--portalThemeColor8);
}

.job-meta {
    color: #6c757d;
    font-size: 0.9rem;
}

.job-meta i {
    margin-right: 5px;
}

.success-container {
    max-width: 900px;
    width: 90%;
    margin: 2rem auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header {
    background: linear-gradient(135deg, #145388 0%, #1e6fb8 100%);
    color: white;
    padding: 2rem 2rem 1.5rem 2rem;
    text-align: center;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.logo {
    font-size: 2.5rem;
    font-weight: bold;
}

.success-icon {
    background: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: scaleIn 0.5s ease-out 0.3s both;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

.success-icon i {
    color: #28a745;
    font-size: 3rem;
    font-weight: bold;
}

.success-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: white;
}

.success-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
    font-weight: 400;
}

.content {
    padding: 2.5rem 2rem;
}

@media (max-width: 600px) {
    .content {
        padding: 0.5rem 1rem;
    }
}

.confirmation-message {
    text-align: center;
    color: #333;
    font-size: 1.1rem;
}

.application-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 2px solid #145388;
}

.card-title {
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1);
    gap: 0.5rem;
}


.info-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 400;
}

.application-id-badge {
    display: inline-block;
    background: #e3f2fd;
    color: #145388;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 1.1rem;
    border: 1px dashed #145388;
    margin-top: 0.5rem;
}

.next-steps {
    background: #e8f5e9;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2.5rem;
}

.next-steps-title {
    color: #2e7d32;
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.action-buttons > .btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    min-width: 200px;
}

.action-buttons > .btn-primary {
    background: #145388;
    color: white;
}

.action-buttons > .btn-primary:hover {
    background: #0d3c66;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 83, 136, 0.3);
}

.action-buttons > .btn-secondary {
    background: white;
    color: #145388;
    border: 2px solid #145388;
}

.action-buttons > .btn-secondary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}