.asrs-candidate-view {
    background: #f5f6fa;
    min-height: 60vh;
}

.asrs-back-link {
    display: inline-flex;
    align-items: center;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.2s;
    margin-bottom: 1rem;
}

.asrs-back-link:hover {
    color: #c04100;
    text-decoration: underline;
}

.asrs-candidate-header-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.asrs-candidate-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.asrs-candidate-header-actions {
    flex-shrink: 0;
}

.asrs-header-cv-download {
    white-space: nowrap;
}

.asrs-header-cv-preview {
    white-space: nowrap;
}

.asrs-candidate-header-main {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 0;
}

.asrs-candidate-header-actions .btn-primary {
    background-color: #ed5100;
    border-color: #ed5100;
    font-weight: 600;
}

.asrs-candidate-header-actions .btn-primary:hover {
    background-color: #c04100;
    border-color: #c04100;
    color: #fff;
}

.asrs-candidate-profile-tabs {
    border-bottom: 2px solid #e5e7eb;
}

.asrs-candidate-profile-tabs .nav-link {
    color: #6b7280;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    font-weight: 600;
    padding: 0.75rem 1.25rem;
}

.asrs-candidate-profile-tabs .nav-link:hover {
    color: #374151;
    border-color: transparent;
}

.asrs-candidate-profile-tabs .nav-link.active {
    color: #ed5100;
    border-bottom-color: #ed5100;
    background: transparent;
}

.asrs-cv-onepage-card {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.asrs-cv-onepage-inner {
    font-size: 14px;
    color: #111827;
}

@media print {

    .asrs-candidate-view .asrs-back-link,
    .asrs-candidate-view .asrs-candidate-profile-tabs,
    .asrs-candidate-view .asrs-candidate-header-actions {
        display: none !important;
    }

    /* With CV tab: print one-page CV only */
    .asrs-candidate-view:not(.asrs-candidate-view-no-cv-extras) #pane-information {
        display: none !important;
    }

    .asrs-candidate-view:not(.asrs-candidate-view-no-cv-extras) #pane-cv-onepage.tab-pane {
        display: block !important;
        opacity: 1 !important;
    }

    /* CV tab hidden: print Information */
    .asrs-candidate-view.asrs-candidate-view-no-cv-extras #pane-information {
        display: block !important;
        opacity: 1 !important;
    }

    .asrs-candidate-view {
        background: #fff !important;
    }

    .asrs-candidate-view .asrs-candidate-header-card {
        box-shadow: none !important;
        border: none !important;
        padding: 0 0 1rem 0 !important;
    }

    .asrs-candidate-view .asrs-cv-onepage-card {
        box-shadow: none !important;
        border: none !important;
    }
}

@media (max-width: 576px) {
    .asrs-candidate-header-content {
        flex-direction: column;
        align-items: stretch;
    }

    .asrs-candidate-header-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

.asrs-candidate-avatar-large {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ed5100 0%, #ff6b35 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    flex-shrink: 0;
}

.asrs-candidate-header-info {
    flex: 1;
}

.asrs-candidate-name-large {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0px 0;
}

.asrs-candidate-title-large {
    font-size: 18px;
    color: #6b7280;
    margin: 0 0 12px 0;
}

.asrs-candidate-email {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #374151;
    font-size: 14px;
    margin: 0;
}

.asrs-info-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    height: 100%;
}

.asrs-info-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.asrs-info-list {
    display: flex;
    flex-direction: column;
    gap: 0rem;
}

.asrs-info-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.55rem 0;
    border-bottom: 1px solid #f3f4f6;
    gap: 1rem;
}

.asrs-info-item:last-child {
    border-bottom: none;
}

.asrs-info-label {
    font-weight: 500;
    color: #000;
    font-size: 14px;
    flex-shrink: 0;
    min-width: 150px;
}

.asrs-info-value {
    color: #111827;
    font-size: 14px;
    text-align: right;
    flex: 1;

}

.asrs-info-value a {
    color: #374151;
    text-decoration: underline;
}

.asrs-cv-download {
    text-align: center;
    padding: 1rem 0;
}

.asrs-documents-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.asrs-document-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
}

.asrs-document-item:hover {
    background: #f3f4f6;
    border-color: #ed5100;
}

.asrs-document-icon {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    color: #ed5100;
    flex-shrink: 0;
    border: 1px solid #e5e7eb;
}

.asrs-document-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.asrs-document-label {
    font-weight: 500;
    color: #000;
    font-size: 14px;
}

.asrs-document-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ed5100;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s;
}

.asrs-document-link:hover {
    color: #c04100;
    text-decoration: underline;
}

.asrs-experience-entry {
    margin-bottom: 2rem;
    padding: 0.5rem;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.asrs-experience-entry:last-child {
    margin-bottom: 0;
}

.asrs-experience-title {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.asrs-education-entry {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.asrs-education-entry:last-child {
    margin-bottom: 0;
}

.asrs-education-title {
    font-size: 16px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e5e7eb;
}

.asrs-certification-entry {
    margin-bottom: 2rem;
    padding: 0.5rem;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.asrs-certification-entry:last-child {
    margin-bottom: 0;
}

.asrs-certification-title {
    font-size: 16px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.asrs-error-message {
    background: #ffffff;
    border-radius: 10px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
}

.asrs-error-message h2 {
    color: #ed5100;
    margin-bottom: 1rem;
}

.asrs-error-message p {
    color: #6b7280;
    margin-bottom: 2rem;
}

.btn-primary {
    background: #ed5100;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: #c04100;
    color: #ffffff;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

@media (max-width: 768px) {
    .asrs-candidate-header-content {
        flex-direction: column;
        text-align: center;
    }

    .asrs-info-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .asrs-info-label {
        min-width: auto;
    }

    .asrs-info-value {
        text-align: left;
    }
}

.page-template-candidate-view .hero-section {
    display: none;
}