﻿
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.main-theme-cell {
    pointer-events: none;
    /*opacity: 0.5;*/ /* makes the entire cell 50% transparent */
}

.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 8px;
    width: 100%;
    max-width: 1200px;
}

/* Rating Modal Specific Styles */
.rating-modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.rating-indicator {
    width: 2rem;
    height: 2rem;
    border-radius: 4px;
}

.rating-info-group {
    margin-bottom: 1.5rem;
}

    .rating-info-group h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        color: #444;
    }

.party-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
}

    .party-detail .party-icon {
        width: 2rem;
        height: 2rem;
    }

.close-button {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

    .close-button:hover {
        color: #000;
    }

/* Make rating cells clickable */
.rating-cell {
    cursor: pointer;
    transition: opacity 0.2s;
}

    .rating-cell:hover {
        opacity: 0.8;
    }

.rating-info-row {
    margin-bottom: 20px;
}

.attachment-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .attachment-item i {
        font-size: 1.2rem;
    }

#pdfViewerModal .modal-dialog {
    max-width: 90vw;
}

.nav-tabs {
    margin-bottom: 20px;
}

