/* BIM Archive Page Styles */

.btn-bim-download {
    display: block;
    width: 100%;
    padding: 0.75rem;
    margin-top: 1rem;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-bim-download:hover {
    background: #333;
}

.btn-bim-download i {
    margin-right: 0.5rem;
}

/* Modal BIM */
.bim-modal {
    display: none !important;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    animation: fadeIn 0.3s;
}

.bim-modal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

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

.bim-modal-content {
    position: relative;
    background-color: #fff;
    padding: 0;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: slideDown 0.3s;
    max-height: 90vh;
    overflow-y: auto;
}

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

.bim-modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
}

.bim-modal-close:hover {
    color: #000;
}

.bim-modal-body {
    padding: 2rem;
}

.bim-modal-body h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.bim-modal-body p {
    font-size: 1rem;
    margin-bottom: 0;
}

.bim-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.bim-file-item:hover {
    background: #111;
    border-color: #111;
    color: #fff;
    text-decoration: none;
}

.bim-file-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bim-file-info i {
    font-size: 1.5rem;
}

.bim-file-text strong {
    display: block;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.bim-file-text small {
    font-size: 0.8rem;
    opacity: 0.7;
}

.bim-file-item:hover .bim-file-text strong,
.bim-file-item:hover .bim-file-text small {
    color: #fff;
}

.bim-file-item i.fa-download {
    font-size: 1.2rem;
}
