/* ===== СТИЛИ ДЛЯ СТРАНИЦЫ РЕКВИЗИТЫ ===== */

.mv-details {
    margin: 0;
    padding: 0;
    width: 100%;
    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.mv-container-full {
    width: 100%;
    max-width: 1200px;
    padding: 24px 32px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Заголовки секций */
.mv-details-section-title {
    font-size: 28px;
    font-weight: 600;
    color: #1f2a3a;
    margin: 48px 0 32px 0;
    letter-spacing: -0.01em;
    text-align: center;
}

.mv-details-section-title:first-of-type {
    margin-top: 32px;
}

/* Статистика (карточки) */
.mv-details-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0 0 48px 0;
}

.mv-details-stat {
    background: #f9fafc;
    border: 1px solid #eaeef2;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: box-shadow 0.2s ease;
}

.mv-details-stat:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: #d0d7de;
}

.mv-details-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #1f2a3a;
    margin-bottom: 8px;
    word-break: break-word;
}

.mv-details-stat-label {
    font-size: 14px;
    color: #54656f;
}

/* Карточка с таблицей */
.mv-details-card {
    background: white;
    border: 1px solid #eaeef2;
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 48px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* Таблица реквизитов */
.mv-details-table {
    width: 100%;
    border-collapse: collapse;
}

.mv-details-table tr {
    border-bottom: 1px solid #eaeef2;
}

.mv-details-table tr:last-child {
    border-bottom: none;
}

.mv-details-table th {
    width: 30%;
    padding: 20px 20px 20px 0;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: #1f2a3a;
    vertical-align: top;
}

.mv-details-table td {
    padding: 20px 0;
    text-align: left;
    font-size: 15px;
    color: #54656f;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.mv-details-copy-text {
    flex: 1;
    word-break: break-word;
}

.mv-details-copy-btn {
    padding: 6px 12px;
    background: #f9fafc;
    border: 1px solid #eaeef2;
    border-radius: 6px;
    font-size: 12px;
    color: #1f2a3a;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: inherit;
}

.mv-details-copy-btn:hover {
    background: #fff300;
    border-color: #fff300;
}

.mv-details-file {
    display: inline-block;
    padding: 6px 12px;
    background: #fff8e6;
    border: 1px solid #fff300;
    border-radius: 6px;
    font-size: 12px;
    color: #1f2a3a;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 8px;
}

.mv-details-file:hover {
    background: #fff300;
}

/* Сетка для дополнительной информации */
.mv-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.mv-details-info-card {
    background: #f9fafc;
    border: 1px solid #eaeef2;
    border-radius: 16px;
    padding: 24px;
    transition: box-shadow 0.2s ease;
}

.mv-details-info-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: #d0d7de;
}

.mv-details-info-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2a3a;
    margin: 0 0 16px 0;
}

.mv-details-info-text {
    font-size: 15px;
    line-height: 1.5;
    color: #54656f;
    margin: 0 0 8px 0;
}

.mv-details-info-highlight {
    font-size: 16px;
    font-weight: 600;
    color: #1f2a3a;
    margin: 12px 0;
    padding: 8px 12px;
    background: #fff8e6;
    border-left: 3px solid #fff300;
    border-radius: 4px;
}

.mv-details-info-note {
    font-size: 13px;
    color: #7e8c9e;
    margin: 8px 0 0 0;
}

.mv-details-info-copy {
    margin-top: 16px;
    padding: 8px 16px;
    background: white;
    border: 1px solid #eaeef2;
    border-radius: 8px;
    font-size: 13px;
    color: #1f2a3a;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.mv-details-info-copy:hover {
    background: #fff300;
    border-color: #fff300;
}

/* Контакты для партнеров */
.mv-details-contacts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.mv-details-contact-card {
    background: white;
    border: 1px solid #eaeef2;
    border-radius: 16px;
    padding: 24px;
    transition: box-shadow 0.2s ease;
}

.mv-details-contact-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: #d0d7de;
}

.mv-details-contact-title {
    font-size: 20px;
    font-weight: 600;
    color: #1f2a3a;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #eaeef2;
}

.mv-details-contact-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f3f7;
}

.mv-details-contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.mv-details-contact-label {
    font-size: 14px;
    color: #7e8c9e;
    min-width: 140px;
}

.mv-details-contact-value {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: #1f2a3a;
    text-decoration: none;
    word-break: break-word;
}

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

.mv-details-contact-copy {
    padding: 4px 10px;
    background: #f9fafc;
    border: 1px solid #eaeef2;
    border-radius: 6px;
    font-size: 12px;
    color: #1f2a3a;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: inherit;
}

.mv-details-contact-copy:hover {
    background: #fff300;
    border-color: #fff300;
}

/* Блок с кнопками действий */
.mv-details-actions {
    margin: 48px 0 32px;
    padding: 40px;
    background: linear-gradient(135deg, #f9fafc 0%, #ffffff 100%);
    border: 1px solid #eaeef2;
    border-radius: 24px;
    text-align: center;
}

.mv-details-actions-title {
    font-size: 24px;
    font-weight: 600;
    color: #1f2a3a;
    margin: 0 0 12px 0;
}

.mv-details-actions-text {
    font-size: 16px;
    color: #54656f;
    margin: 0 0 24px 0;
}

.mv-details-actions-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.mv-details-button {
    display: inline-block;
    padding: 14px 32px;
    background: #1f2a3a;
    color: white;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 60px;
    transition: background 0.2s ease;
    border: none;
    cursor: pointer;
}

.mv-details-button:hover {
    background: #2c3a4f;
}

.mv-details-button-secondary {
    background: white;
    color: #1f2a3a;
    border: 1px solid #eaeef2;
}

.mv-details-button-secondary:hover {
    background: #f9fafc;
}

/* Модальное окно для свидетельства */
.mv-details-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.mv-details-modal-content {
    background: white;
    width: 90%;
    max-width: 800px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.mv-details-modal-header {
    padding: 16px 24px;
    background: #f9fafc;
    border-bottom: 1px solid #eaeef2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

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

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

.mv-details-modal-body {
    padding: 24px;
    background: white;
    max-height: 70vh;
    overflow-y: auto;
}

.mv-details-modal-body img {
    width: 100%;
    height: auto;
    display: block;
}

/* Уведомление о копировании */
.mv-details-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2a3a;
    color: white;
    padding: 12px 24px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mv-details-toast.show {
    opacity: 1;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1024px) {
    .mv-details-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mv-details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mv-container-full {
        padding: 20px;
    }
    
    .mv-details-section-title {
        font-size: 24px;
        margin: 32px 0 24px;
    }
    
    .mv-details-stats {
        gap: 16px;
    }
    
    .mv-details-card {
        padding: 24px;
    }
    
    .mv-details-table th {
        width: 100%;
        display: block;
        padding: 16px 0 4px 0;
    }
    
    .mv-details-table td {
        display: block;
        padding: 0 0 16px 0;
    }
    
    .mv-details-copy-text {
        width: 100%;
        margin-bottom: 8px;
    }
    
    .mv-details-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .mv-details-contacts {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .mv-details-contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .mv-details-contact-label {
        min-width: auto;
    }
    
    .mv-details-contact-copy {
        align-self: flex-start;
    }
    
    .mv-details-actions {
        padding: 30px;
    }
    
    .mv-details-actions-title {
        font-size: 22px;
    }
    
    .mv-details-actions-buttons {
        flex-direction: column;
    }
    
    .mv-details-button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .mv-details-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .mv-container-full {
        padding: 16px;
    }
    
    .mv-details-section-title {
        font-size: 22px;
    }
    
    .mv-details-stat {
        padding: 20px;
    }
    
    .mv-details-stat-value {
        font-size: 20px;
    }
    
    .mv-details-card {
        padding: 20px;
    }
    
    .mv-details-actions {
        padding: 24px;
    }
    
    .mv-details-actions-title {
        font-size: 20px;
    }
    
    .mv-details-modal-header {
        padding: 12px 16px;
    }
    
    .mv-details-modal-close {
        font-size: 24px;
    }
    
    .mv-details-modal-body {
        padding: 16px;
    }
}