/* Card Main Structure */
.mc-c80dbb98-card-container {
    display: flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.mc-c80dbb98-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px 24px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    display: flex; 
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mc-c80dbb98-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
}

.mc-c80dbb98-logo-wrapper {
    width: 120px; /* Increased default wide desktop style */
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    overflow: hidden;
    padding: 8px;
    box-sizing: border-box;
}

.mc-c80dbb98-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.mc-c80dbb98-card-title {
    font-family: inherit;
    font-size: 22px;
    font-weight: 700;
    color: #01274E;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.mc-c80dbb98-card-subtitle {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #244D9A;
    margin-bottom: 12px;
}

.mc-c80dbb98-card-description {
    font-size: 14px;
    line-height: 1.5;
    color: #64748b;
    margin: 0 0 20px 0;
}

.mc-c80dbb98-responsible {
    font-size: 14px;
    color: #475569;
    margin-bottom: 16px;
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
}

.mc-c80dbb98-label {
    font-weight: 600;
    color: #01274E;
}

.mc-c80dbb98-value { 
    margin-left: 6px;
}

/* Quick Contacts */
.mc-c80dbb98-contacts-wrapper {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.mc-c80dbb98-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #244D9A;
    color: #244D9A;
    background: transparent;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 18px;
}

.mc-c80dbb98-contact-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Main Action Button */
.mc-c80dbb98-btn-primary {
    background-color: #244D9A;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mc-c80dbb98-btn-primary svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Modal Overlay */
.mc-c80dbb98-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(1, 39, 78, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 999999;
    padding: 24px;
    box-sizing: border-box;
}

.mc-c80dbb98-modal-overlay.mc-active {
    opacity: 1;
    visibility: visible;
}

.mc-c80dbb98-modal-box {
    background: #ffffff;
    width: 100%;
    max-width: 95%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: mcScaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes mcScaleIn {
    from { transform: scale(0.97); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.mc-c80dbb98-modal-close {
    position: absolute;
    top: 18px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
    z-index: 10;
}

.mc-c80dbb98-modal-close:hover {
    color: #0f172a;
}

.mc-c80dbb98-modal-header {
    padding: 24px 32px;
    border-bottom: 1px solid #e2e8f0;
    background-color: #f8fafc;
}

.mc-c80dbb98-modal-header h3 {
    margin: 0 0 6px 0;
    font-size: 22px;
    color: #01274E;
    font-weight: 700;
}

.mc-c80dbb98-modal-subtitle {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.mc-c80dbb98-modal-body {
    padding: 24px 32px;
    overflow-y: auto;
}

/* Technical Spreadsheet/Table Design */
.mc-c80dbb98-table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
}

.mc-c80dbb98-tech-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
    min-width: 850px; /* Ensures columns preserve spatial integrity and scroll rather than crunching */
    background: #ffffff;
}

.mc-c80dbb98-tech-table th,
.mc-c80dbb98-tech-table td {
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    vertical-align: middle;
    line-height: 1.4;
}

/* Header Row styling */
.mc-c80dbb98-tech-table thead tr {
    background-color: #244D9A;
}

.mc-c80dbb98-tech-table thead th {
    color: #ffffff;
    font-weight: 700;
    text-transform: none;
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* Alternating Row styling */
.mc-c80dbb98-tech-table tbody tr:nth-child(even) {
    background-color: #f8fafc;
}
.mc-c80dbb98-tech-table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

/* Alignment and column configurations */
.mc-col-num {
    width: 50px;
    text-align: center;
}
.mc-col-item {
    width: 200px;
}
.mc-col-possesses {
    width: 85px;
    text-align: center;
}
.mc-col-quantity {
    width: 90px;
    text-align: center;
}
.mc-col-amount {
    width: 130px;
    text-align: right;
}
.mc-col-details {
    width: auto; /* remains wider */
    text-align: left;
}
.mc-col-verification {
    width: 140px;
    text-align: center;
}

/* Badges and text states */
.mc-pill {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}
.mc-pill-yes {
    background-color: #dcfce7;
    color: #15803d;
}
.mc-pill-no {
    background-color: #fee2e2;
    color: #b91c1c;
}

/* Verification alignment signs */
.mc-c80dbb98-check {
    color: #16a34a;
    font-weight: 700;
    white-space: nowrap;
}

.mc-c80dbb98-cross {
    color: #dc2626;
    font-weight: 700;
    white-space: nowrap;
}

.mc-c80dbb98-pending {
    color: #d97706;
    font-weight: 700;
    white-space: nowrap;
}

body.mc-modal-open-c80dbb98 {
    overflow: hidden;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .mc-c80dbb98-modal-overlay {
        padding: 12px;
    }
    .mc-c80dbb98-modal-header,
    .mc-c80dbb98-modal-body {
        padding: 16px 20px;
    }
    .mc-c80dbb98-tech-table th,
    .mc-c80dbb98-tech-table td {
        padding: 10px 12px;
        font-size: 13px;
    }
}
