.resume-manager-form fieldset {
    margin-bottom: 20px;
    border: none;
    padding: 0;
}

.resume-manager-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.resume-manager-form input[type="text"],
.resume-manager-form input[type="email"],
.resume-manager-form select,
.resume-manager-form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.resumes {
    list-style: none;
    padding: 0;
    margin: 0;
}

.resumes.loading {
    opacity: 0.5;
}

.resume {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.resume a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    gap: 20px;
}

.resume .candidate-photo {
    width: 60px;
    height: 60px;
}

.resume .candidate-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.resume .placeholder-photo {
    width: 100%;
    height: 100%;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
}

.resume .resume-info {
    flex: 1;
}

.resume .candidate-name {
    color: #d9534f;
    margin: 0;
    font-size: 1.2em;
}

.resume .candidate-title {
    margin: 5px 0 0;
    color: #999;
    font-size: 0.9em;
}

.resume .candidate-location {
    flex: 1;
    color: #999;
    font-size: 0.9em;
}

.resume .resume-meta {
    text-align: right;
    color: #999;
    font-size: 0.8em;
}

.resume .resume-meta span {
    display: block;
    margin-bottom: 5px;
}

/* Filters */
.resume-filters {
    background: #f4f4f4;
    padding: 20px;
    margin-bottom: 30px;
}

.resume-filters .search_resumes {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.resume-filters .search_keywords,
.resume-filters .search_location,
.resume-filters .search_gender {
    flex: 1;
}

.resume-filters label {
    display: none;
}

.resume-filters input[type="text"],
.resume-filters select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
}

.resume-filters .search_categories select {
    width: 100%;
}

.single-resume-content.widget {
    background: #fff;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
}

.resume-aside {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.avarta-cadidate img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.right-content {
    flex: 1;
}

.candidate-name {
    margin: 0 0 10px;
    font-size: 28px;
    color: #333;
    font-weight: 700;
}

.location {
    margin: 0 0 15px;
    color: #666;
    font-size: 16px;
}

.location i {
    color: #d9534f;
    margin-right: 5px;
}

.meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: #999;
}

.meta li {
    display: flex;
    align-items: center;
}

.meta li::before {
    content: "\2022";
    margin-right: 10px;
    color: #eee;
}

.meta li:first-child::before {
    display: none;
}

.resume-category-tag {
    background: #fdf2f2;
    color: #d9534f;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.widget-title {
    font-size: 20px;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f9f9f9;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-title i {
    font-size: 18px;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.skills-list li {
    background: #f4f4f4;
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 14px;
    color: #555;
    transition: all 0.3s;
}

.skills-list li:hover {
    background: #d9534f;
    color: #fff;
}

.education-timeline, .experience-timeline {
    border-left: 2px solid #f1f1f1;
    padding-left: 30px;
    margin-left: 10px;
}

.education-item, .experience-item {
    position: relative;
    margin-bottom: 40px;
}

.education-item::before, .experience-item::before {
    content: '';
    position: absolute;
    left: -37px;
    top: 5px;
    width: 14px;
    height: 14px;
    background: #fff;
    border: 3px solid #d9534f;
    border-radius: 50%;
}

.education-item .date, .experience-item .date {
    font-size: 13px;
    color: #d9534f;
    font-weight: 600;
    margin-bottom: 5px;
}

.education-item .sub-title, .experience-item .sub-title {
    font-size: 18px;
    margin: 0 0 10px;
    color: #333;
}

.education-item .notes, .experience-item .notes {
    color: #777;
    line-height: 1.6;
}

.resume-contact-details {
    margin-bottom: 25px;
}

.application_button {
    background: #d9534f;
    color: #fff !important;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s;
    cursor: pointer;
}

.application_button:hover {
    background: #c9302c;
}

.application_details {
    background: #f9f9f9;
    padding: 20px;
    border: 1px solid #eee;
    margin-top: 15px;
    border-radius: 4px;
}

.application_details p {
    margin: 0;
    color: #555;
}

.application_details a {
    color: #d9534f;
    font-weight: 600;
    text-decoration: underline;
}

#main-content .row {
    margin-left: -15px;
    margin-right: -15px;
}

#main-content [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}

.resume-file-download {
    margin-bottom: 15px;
}

.resume-file-download .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #d9534f;
    color: #fff !important;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
}

.resume-file-download .btn:hover {
    background: #c9302c;
}

.resume-certificates .certificates-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.resume-certificates .certificates-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    background: #f9f9f9;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 4px;
}

.resume-certificates .certificates-list i {
    color: #0073aa;
}

.resume-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #999;
    font-size: 0.9em;
    display: flex;
    justify-content: space-between;
}

.apply-with-resume {
    margin: 20px 0;
}

.apply-with-resume-form-wrapper {
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    margin-top: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.resume-manager-repeater .repeater-row {
    background: #f9f9f9;
    padding: 15px;
    border: 1px solid #eee;
    margin-bottom: 10px;
    position: relative;
}

.resume-manager-repeater .repeater-row input,
.resume-manager-repeater .repeater-row textarea {
    margin-bottom: 10px;
}

.resume-manager-repeater .remove-row {
    color: #a00;
    font-size: 0.9em;
    text-decoration: none;
}

.resume-manager-repeater .remove-row:hover {
    text-decoration: underline;
}

.candidate-photo-wrapper {
    margin-bottom: 15px;
}

.candidate-photo-wrapper img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.resume-category-tag {
    background: #d9534f;
    color: #fff;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.8em;
    display: inline-block;
    margin-top: 10px;
}

.job-listing-info .job-links a {
    margin-right: 10px;
}

/* Force hide stuck theme preloader on resume pages */
.single-resume .apus-page-loading,
.single-resume .apus-body-loading .apus-page-loading {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.single-resume.apus-body-loading {
    overflow: auto !important;
}

/* Candidate Dashboard */
.resume-manager-resumes {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.resume-manager-resumes th,
.resume-manager-resumes td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.resume-manager-resumes th {
    background: #f9f9f9;
    font-weight: 700;
}

.candidate-dashboard-actions {
    list-style: none;
    padding: 0;
    margin: 5px 0 0;
    display: flex;
    gap: 10px;
    font-size: 0.85em;
    visibility: hidden;
    opacity: 0;
    transition: all 0.2s;
}

.resume-manager-resumes tr:hover .candidate-dashboard-actions {
    visibility: visible;
    opacity: 1;
}

.candidate-dashboard-actions li {
    display: inline-block;
}

.candidate-dashboard-actions a {
    color: #999;
    text-decoration: none;
}

.candidate-dashboard-actions a:hover {
    color: #d9534f;
}

.candidate-dashboard-actions .candidate-dashboard-action-delete {
    color: #a00;
}
