* { margin: 0; padding: 0; box-sizing: border-box; }

.mv-vacancies {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #fff;
    padding: 30px 0;
}

.mv-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.mv-page-header {
    margin-bottom: 30px;
}

.mv-page-subtitle {
    font-size: 16px;
    color: #54656f;
}

.mv-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eaeef2;
    padding-bottom: 10px;
}

.mv-tab {
    padding: 10px 20px;
    border: none;
    background: none;
    font-size: 15px;
    cursor: pointer;
    border-radius: 20px;
    color: #54656f;
    transition: all 0.2s;
}

.mv-tab:hover {
    background: #f6f8fa;
    color: #1f2a3a;
}

.mv-tab.active {
    background: #f2c94c;
    color: #1f2a3a;
    font-weight: 500;
}

.mv-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.mv-select {
    padding: 10px 16px;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    min-width: 180px;
    cursor: pointer;
}

.mv-reset {
    padding: 10px 20px;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    background: #f6f8fa;
    cursor: pointer;
    font-size: 14px;
    color: #54656f;
}

.mv-reset:hover {
    background: #eaeef2;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
}

.mv-card {
    border: 1px solid #eaeef2;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}

.mv-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.mv-photo {
    height: 200px;
    background: #f6f8fa;
    position: relative;
}

.mv-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mv-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mv-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1f2a3a;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.mv-badge-text {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    white-space: nowrap;
}

.mv-badge-text-hot {
    background: #ea4335;
}

.mv-badge-text-urgent {
    background: #ff6b00;
}

.mv-salary {
    font-size: 20px;
    font-weight: 700;
    color: #1a73e8;
    margin-bottom: 12px;
}

.mv-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.mv-meta-item {
    font-size: 14px;
    color: #54656f;
}

.mv-preview {
    font-size: 14px;
    color: #54656f;
    margin-bottom: 12px;
    line-height: 1.5;
}

.mv-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.mv-feature {
    font-size: 12px;
    padding: 4px 10px;
    background: #f6f8fa;
    border-radius: 16px;
    color: #54656f;
}

.mv-contact {
    background: #f6f8fa;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.mv-contact-person {
    margin-bottom: 10px;
}

.mv-contact-name {
    font-weight: 500;
    color: #1f2a3a;
}

.mv-contact-links {
    display: flex;
    gap: 15px;
}

.mv-contact-link {
    color: #1a73e8;
    text-decoration: none;
    font-size: 14px;
}

.mv-contact-link:hover {
    text-decoration: underline;
}

.mv-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.mv-btn {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.mv-btn-primary {
    background: #f2c94c;
    color: #1f2a3a;
}

.mv-btn-primary:hover {
    background: #ebbb2c;
}

.mv-btn-outline {
    background: #fff;
    border: 1px solid #d0d7de;
    color: #1f2a3a;
}

.mv-btn-outline:hover {
    background: #f6f8fa;
}

.mv-empty {
    display: none;
    text-align: center;
    padding: 60px 20px;
}

.mv-empty p {
    color: #54656f;
    margin-bottom: 20px;
    font-size: 16px;
}

.mv-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.mv-modal-dialog {
    background: #fff;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.mv-modal-large {
    max-width: 800px;
}

.mv-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 24px;
    border-bottom: 1px solid #eaeef2;
}

.mv-modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #1f2a3a;
    margin: 0;
    padding-right: 20px;
}

.mv-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #7e8c9e;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background 0.2s;
    flex-shrink: 0;
}

.mv-modal-close:hover {
    background: #f6f8fa;
    color: #1f2a3a;
}

.mv-modal-body {
    padding: 24px;
}

.mv-detail-section {
    margin-bottom: 24px;
}

.mv-detail-section:last-child {
    margin-bottom: 0;
}

.mv-detail-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2a3a;
    margin-bottom: 12px;
    padding-left: 12px;
    border-left: 4px solid #f2c94c;
}

.mv-detail-content {
    font-size: 15px;
    line-height: 1.6;
    color: #54656f;
    padding-left: 16px;
}

.mv-detail-content ul,
.mv-detail-content ol {
    margin: 10px 0;
    padding-left: 24px;
}

.mv-detail-content li {
    margin-bottom: 6px;
}

.mv-detail-content p {
    margin-bottom: 12px;
}

.mv-detail-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eaeef2;
}

.mv-detail-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mv-detail-label {
    font-size: 13px;
    color: #7e8c9e;
}

.mv-detail-value {
    font-size: 15px;
    font-weight: 500;
    color: #1f2a3a;
}

.mv-contact-modal-vacancy {
    font-size: 18px;
    font-weight: 600;
    color: #1f2a3a;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eaeef2;
}

.mv-contact-modal-text {
    font-size: 14px;
    color: #54656f;
    margin-bottom: 16px;
}

.mv-contact-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mv-contact-modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s;
}

.mv-contact-modal-btn.phone {
    background: #fff;
    border: 1px solid #d0d7de;
    color: #1f2a3a;
}

.mv-contact-modal-btn.phone:hover {
    background: #f6f8fa;
}

.mv-contact-modal-btn.telegram {
    background: #0088cc;
    color: #fff;
}

.mv-contact-modal-btn.telegram:hover {
    background: #006699;
}

.mv-contact-modal-note {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #eaeef2;
    font-size: 14px;
    color: #7e8c9e;
    text-align: center;
}

.mv-contact-modal-note a {
    color: #1a73e8;
    text-decoration: none;
}

@media (max-width: 768px) {
    .mv-grid {
        grid-template-columns: 1fr;
    }
    
    .mv-filters {
        flex-direction: column;
    }
    
    .mv-select {
        width: 100%;
    }
    
    .mv-modal-dialog {
        max-width: 100%;
        margin: 10px;
    }
    
    .mv-detail-grid-2 {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}