body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}
.card {
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease-in-out;
}
.card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid #dbeafe;
    padding-bottom: 0.5rem;
}
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.theme-suggestion-btn {
    background-color: #e0e7ff;
    color: #3730a3;
    border: 1px solid #c7d2fe;
}
.theme-suggestion-btn:hover {
    background-color: #c7d2fe;
    color: #312e81;
}
.enhancement-btn {
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.enhancement-btn:hover {
    opacity: 0.9;
}
.enhancement-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}
th, td {
    border: 1px solid #e5e7eb;
    padding: 0.75rem;
    text-align: left;
}
th {
    background-color: #f3f4f6;
    font-weight: 600;
}
.modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 9999 !important;
    transition: opacity 0.3s ease-in-out !important;
    opacity: 0;
    padding: 1rem !important;
}

.modal-overlay:not(.opacity-0) {
    opacity: 1 !important;
}
.modal-overlay.hidden {
    display: none !important;
}
.modal-content {
    background-color: white !important;
    border-radius: 1rem !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    padding: 2rem !important;
    max-width: 90vw !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    transition: transform 0.3s ease-in-out !important;
    transform: scale(0.95);
    width: 100% !important;
    max-width: 500px !important;
}
.modal-content.show {
    transform: scale(1) !important;
}

#activityDetailModal .modal-content {
    max-width: 700px;
}

.modal-content button {
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

.modal-content button:hover {
    color: #374151;
}
.activity-item {
    cursor: pointer;
    transition: background-color 0.2s;
    padding: 4px 8px;
    border-radius: 6px;
}
.activity-item:hover {
    background-color: #eef2ff;
}
.message-box {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    color: white;
    font-weight: 500;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s, top 0.5s;
}
.message-box.show {
    opacity: 1;
    top: 40px;
}
.message-box.error {
    background-color: #dc2626; /* red-600 */
}