/* Match GP Frontend Styles */

.match-gp-single-profissional,
.match-gp-single-vaga,
.match-gp-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
.profissional-header,
.vaga-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.profissional-header {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.profissional-photo img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.profissional-info h1,
.vaga-header h1 {
    margin: 0 0 10px 0;
    font-size: 2.5em;
    color: #333;
}

.vaga-empresa {
    font-size: 1.3em;
    color: #666;
    margin: 0 0 15px 0;
}

/* Meta Tags */
.profissional-meta,
.vaga-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: #f5f5f5;
    border-radius: 20px;
    font-size: 0.9em;
    color: #555;
}

/* Tags */
.area-tag,
.habilidade-tag,
.nivel-tag {
    display: inline-block;
    padding: 6px 14px;
    margin: 4px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
}

.area-tag {
    background: #e3f2fd;
    color: #1976d2;
}

.habilidade-tag {
    background: #f3e5f5;
    color: #7b1fa2;
}

.nivel-tag {
    background: #e8f5e9;
    color: #388e3c;
}

/* Content Layout */
.profissional-content,
.vaga-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.profissional-section,
.vaga-section {
    margin-bottom: 40px;
}

.profissional-section h2,
.vaga-section h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #2196f3;
    padding-bottom: 10px;
}

/* Sidebar Cards */
.contact-card,
.vaga-details-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.contact-card h3,
.vaga-details-card h3 {
    margin: 0 0 20px 0;
    font-size: 1.4em;
    color: #333;
}

.contact-item,
.detail-item {
    margin-bottom: 15px;
}

.contact-item strong,
.detail-item strong {
    display: block;
    margin-bottom: 5px;
    color: #666;
    font-size: 0.9em;
}

.contact-item a {
    color: #2196f3;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Buttons */
.btn-primary,
.btn-find-matches,
.btn-apply {
    display: inline-block;
    padding: 12px 24px;
    background: #2196f3;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-primary:hover,
.btn-find-matches:hover,
.btn-apply:hover {
    background: #1976d2;
}

.btn-edit,
.btn-view {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9em;
    margin-right: 10px;
}

.btn-edit {
    background: #ff9800;
    color: #fff;
}

.btn-view {
    background: #4caf50;
    color: #fff;
}

/* Dashboard */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.dashboard-header h1 {
    margin: 0;
    font-size: 2em;
}

.dashboard-notifications {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}

.dashboard-notifications h2 {
    margin: 0 0 15px 0;
    font-size: 1.3em;
}

.notification-item {
    background: #fff;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.notification-item p {
    margin: 0 0 5px 0;
}

.notification-item small {
    color: #999;
}

/* Vagas Grid */
.vagas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.vaga-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.vaga-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.vaga-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.3em;
}

.vaga-excerpt {
    color: #666;
    margin-bottom: 15px;
}

.vaga-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.vaga-stats .stat {
    display: flex;
    flex-direction: column;
}

.vaga-stats .stat strong {
    font-size: 1.5em;
    color: #2196f3;
}

.top-matches {
    margin: 15px 0;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 5px;
}

.top-matches h4 {
    margin: 0 0 10px 0;
    font-size: 1em;
}

.top-matches ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.top-matches li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.top-matches li:last-child {
    border-bottom: none;
}

.match-score {
    background: #4caf50;
    color: #fff;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: bold;
}

.vaga-card-actions {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

/* Matches List */
.match-gp-matches-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.match-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
}

.match-card h3 {
    margin: 0 0 15px 0;
}

.match-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
    font-size: 0.9em;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .profissional-header {
        flex-direction: column;
    }
    
    .profissional-content,
    .vaga-content {
        grid-template-columns: 1fr;
    }
    
    .vagas-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}