/*
Theme Name: Cariera Child
Theme URI: http://themeforest.net/user/gnodesign/portfolio/
Template: cariera
Description: Cariera Child Theme.
Author: Gnodesign
Author URI: http://themeforest.net/user/gnodesign/
License: ThemeForest
License URI: http://themeforest.net/licenses
Text Domain: cariera
Domain Path: /lang/
*/

/* ✅ Candidate Dashboard Styles */



.candidate-dashboard-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.dashboard-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.dashboard-subtitle {
    color: #666;
    margin-bottom: 20px;
}

.resume-profile-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.05);
}

.resume-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.resume-photo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ddd;
}

.resume-photo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f2f2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #999;
    border: 2px solid #ddd;
}

.resume-info {
    margin-left: 15px;
}

.resume-name {
    font-size: 22px;
    font-weight: bold;
    margin: 0;
}

.resume-headline {
    font-size: 16px;
    color: #444;
    margin: 5px 0 0;
}

.resume-skills {
    margin: 10px 0;
    font-size: 14px;
}

.resume-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.resume-actions a {
    padding: 8px 14px;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s ease-in-out;
}

/* Button colors */
.btn-view { background: #f0f0f0; color: #333; }
.btn-view:hover { background: #e0e0e0; }

.btn-download { background: #2b50ff; color: #fff; }
.btn-download:hover { background: #1c3bd6; }

.btn-edit { background: #ffb347; color: #fff; }
.btn-edit:hover { background: #ff9f1c; }

.btn-delete { background: #ff4b4b; color: #fff; }
.btn-delete:hover { background: #d93636; }

/* Make the profile card pop a bit more */
.candidate-dashboard-wrapper .resume-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin-top: 20px;
    background: #fff;
}

/* Style candidate name */
.resume-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 6px;
}

/* Grey out ‘Core Skills’ label slightly */
.resume-card .core-skills {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

/* Button spacing */
.resume-card .resume-actions a {
    margin-right: 8px;
    border-radius: 6px;
    padding: 8px 14px;
    font-weight: 600;
}

/* Distinct button colours */
.resume-card .resume-actions a.view-btn { background: #666; color: #fff; }
.resume-card .resume-actions a.pdf-btn { background: #2b50ff; color: #fff; }
.resume-card .resume-actions a.edit-btn { background: #ffb02e; color: #fff; }
.resume-card .resume-actions a.delete-btn { background: #ff4b4b; color: #fff; }

/* Hover effect */
.resume-card .resume-actions a:hover {
    opacity: 0.85;
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

/* Hide the top Candidate Dashboard heading on the Candidate Dashboard page */
.page-id-120 h1 {
    display: none !important;
}
/* 🎯 Resume Card Extra Fields */
.candidate-extra-info {
    margin-top: 10px;
    font-size: 15px;
    color: #444;
}
.candidate-extra-info p {
    margin: 4px 0;
    line-height: 1.4;
}

.candidate-extra-info strong {
    color: #222;
}

.resume-headline {
    font-style: italic;
    color: #666;
    margin-top: 4px;
}

.candidate-extra-info {
    margin-top: 10px;
    font-size: 15px;
    color: #444;
}
.resume-skills {
    margin-top: 10px;
    font-size: 15px;
}

.resume-skills strong {
    color: #222;
}
/* 🎯 Resume card layout tweaks */
.resume-profile-card .candidate-extra-info p {
    margin-bottom: 4px; /* tighten spacing between items like Location, Email, Portfolio */
}

.resume-profile-card .resume-skills {
    margin-top: 8px; /* add just a small gap before Core Skills block */
    padding-top: 6px;
    border-top: 1px solid #eee; /* optional subtle divider line */
}
.resume-actions .btn-promote {
    background-color: #6f42c1; /* Purple stands out */
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    margin-left: 5px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.resume-actions .btn-promote:hover {
    background-color: #5a32a3;
}
/*job-dashboard*/
.promote-job-btn {
    background-color: #6f42c1;
    color: #fff !important;
    padding: 8px 16px;      /* match resume button padding */
    border-radius: 6px;
    font-weight: 600;
    margin-left: 5px;
    text-decoration: none;
    display: inline-block;  /* keeps alignment tidy */
    transition: background 0.2s ease;
}
.promote-job-btn:hover {
    background-color: #5a32a3;
}
