/* Size Guide Modal Styles */
.modal-overlay {
    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;
    backdrop-filter: blur(4px);
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
}

.modal-container {
    background: #fff;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    position: relative;
    overflow-y: auto;
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    font-family: 'Playfair Display', serif;
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #333;
}

.modal-body {
    padding: 30px;
    line-height: 1.6;
    color: #444;
}

/* Table Styles inside modal */
.modal-body table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.modal-body th, 
.modal-body td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.modal-body th {
    font-weight: 600;
    color: #333;
    background-color: #f9f9f9;
}

.modal-body tr:last-child td {
    border-bottom: none;
}

@media (max-width: 600px) {
    .modal-body {
        padding: 20px;
    }
    
    .modal-body th, 
    .modal-body td {
        padding: 10px;
        font-size: 0.9rem;
    }
}
