﻿.req-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 999998;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.req-modal-overlay.active {
    display: block !important;
    opacity: 1;
    touch-action: none;
}
.req-modal {
    display: none !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(100%);
    background: #2B52B8 !important;
    border-radius: 24px 24px 0 0 !important;
    width: 100% !important;
    max-width: 540px !important;
    max-height: 88vh !important;
    overflow-y: auto !important;
    z-index: 999999 !important;
    box-shadow: 0 -10px 60px rgba(0, 0, 0, 0.2) !important;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
    opacity: 0;
}
.req-modal.active {
    display: block !important;
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
.req-modal-handle {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin: 12px auto 0;
}
.req-modal-header {
    background: linear-gradient(180deg, #2B52B8 0%, #2346a0 100%);
    padding: 28px 32px 24px;
    margin: 0;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}
.req-modal-title {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    position: relative;
    z-index: 1;
}
.req-modal-company {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 1;
}
.req-modal-company svg {
    opacity: 0.5;
    flex-shrink: 0;
}
.req-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 50% !important;
    font-size: 18px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.2s, transform 0.2s;
    line-height: 1 !important;
    padding: 0 !important;
    z-index: 2;
}
.req-modal-close:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: rotate(90deg);
}
.req-modal-body {
    padding: 24px 28px 32px;
    background: #ffffff;
}
.req-row {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    gap: 16px !important;
    opacity: 0;
    transform: translateY(12px);
    animation: reqRowIn 0.4s ease forwards;
}
.req-row:last-child {
    border-bottom: none;
}
.req-label {
    color: #94a3b8 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    min-width: 110px !important;
    display: inline-block !important;
}
.req-value {
    color: #0f172a !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-align: right !important;
    word-break: break-word !important;
    font-feature-settings: 'tnum';
    display: inline-block !important;
}
.req-value.req-mono {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    letter-spacing: 0.5px;
    color: #2B52B8;
}
.req-row:nth-child(1) { animation-delay: 0.05s; }
.req-row:nth-child(2) { animation-delay: 0.08s; }
.req-row:nth-child(3) { animation-delay: 0.11s; }
.req-row:nth-child(4) { animation-delay: 0.14s; }
.req-row:nth-child(5) { animation-delay: 0.17s; }
.req-row:nth-child(6) { animation-delay: 0.20s; }
.req-row:nth-child(7) { animation-delay: 0.23s; }
.req-row:nth-child(8) { animation-delay: 0.26s; }
.req-row:nth-child(9) { animation-delay: 0.29s; }
@keyframes reqRowIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.req-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
    margin: 4px 0;
    border: none;
}
.req-copy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #2346a0, #2B52B8) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    font-family: inherit !important;
    border: none !important;
    border-radius: 14px !important;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
}
.req-copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(43, 82, 184, 0.35);
}
.req-copy-btn:active {
    transform: scale(0.97);
}
.req-copy-btn.copied {
    background: linear-gradient(135deg, #059669, #10b981) !important;
}
.req-copy-btn svg {
    flex-shrink: 0;
    transition: transform 0.2s;
}
.req-copy-btn:hover svg {
    transform: scale(1.1);
}
.req-modal::-webkit-scrollbar {
    width: 4px;
}
.req-modal::-webkit-scrollbar-track {
    background: transparent;
}
.req-modal::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
}
@media (min-width: 601px) {
    .req-modal {
        bottom: auto !important;
        top: 50% !important;
        transform: translate(-50%, calc(-50% + 40px));
        border-radius: 24px !important;
        max-height: none !important;
        overflow-y: visible !important;
    }
    .req-modal.active {
        transform: translate(-50%, -50%);
    }
    .req-modal-handle {
        display: none;
    }
    .req-modal-header {
        padding: 32px 36px 28px;
        border-radius: 24px 24px 0 0;
    }
    .req-modal-body {
        padding: 24px 36px 36px;
        border-radius: 0 0 24px 24px;
    }
}
@media (max-width: 600px) {
    .req-modal {
        max-width: 100%;
        border-radius: 20px 20px 0 0;
    }
    .req-modal-header {
        margin: 0;
        padding: 22px 22px 20px;
        border-radius: 0;
    }
    .req-modal-title {
        font-size: 19px !important;
    }
    .req-modal-body {
        padding: 18px 20px 28px;
    }
    .req-label {
        font-size: 12px;
        min-width: 90px;
    }
    .req-value {
        font-size: 14px;
    }
    .req-row {
        padding: 11px 0;
    }
}
