#user-message {
    position: fixed;
    top: 20px;
    right: 20px;
    margin-left: 20px;
    color: #34495e;
    padding: 20px 40px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    display: none;
}
#user-message.hidden {
    display: none;
}
#user-message.show {
    display: block;
}
#user-message-button {
    position: absolute;
    top: 0;
    right: 4px;
    cursor: pointer;
    z-index: 1;
    padding: 4px;
}
.message-red {
    background-color: #ffbfaa;
}
.message-green {
    background-color: #ceffbc;
}

.modern-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.modern-card .form-control {
    min-width: 300px;
    width: 300px;
}

.card-title {
    color: #2c3e50;
    font-weight: 600;
}

.card-title .text-decoration-none {
    color: #2c3e50;
    font-weight: 600;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
}

.info-item {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 1rem;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.info-item:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.info-label {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 0.25rem;
}

.info-value {
    font-size: 1.1rem;
    color: #34495e;
    font-weight: 500;
}

.toggle-icon {
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-right: 10px;
}

.toggle-icon.rotated {
    transform: rotate(180deg);
}

.title-container {
    display: flex;
    align-items: center;
}

.related-items {
    font-size: 0.8em;
    color: #666;
    margin-top: 5px;
}

.related-item-icon {
    font-size: 1.2em;
    margin-right: 5px;
}

.related-works-icon {
    color: #3498db;
}

.related-materials-icon {
    color: #2ecc71;
}

.related-equipment-icon {
    color: #e74c3c;
}

/* Add these styles to your CSS */
.search-interface {
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

