.red {
  background-color:  #ffd6dc   !important;
}


body {
	margin-top: 10px;
	margin-bottom: 50px;
	background: none;
}

.bg-dark {
    background-color: #1100ffff !important;
}

.modal-dialog-custom-width {
    max-width: 90vw; /* Use 95% of the viewport width */
    width: 90vw;
}

.btn-success {
    color: #fff;
    background-color: #1100ffff;
    border-color: #1100ffff;
}

.btn-success:hover {
    color: #fff;
    background-color: #1100ffff;
    border-color: #1100ffff;
}

.gradient-custom {
    /* fallback for old browsers */
    background: #1100ffff;
  
    /* Chrome 10-25, Safari 5.1-6 */
    background: -webkit-linear-gradient(to right, #1100ffff, #1100ffff);
  
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background: linear-gradient(to right, #1100ffff, #1100ffff);
}

/* Modal action icons styling */
.modal-action-icons {
    padding: 10px;
    background: rgba(155, 0, 203, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.modal-action-icons .btn {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
}

/* HTMX loading indicator */
.htmx-indicator {
    display: none;
}

.htmx-request .htmx-indicator {
    display: inline-block;
}

.htmx-request.htmx-indicator {
    display: inline-block;
}

/* Smooth transition for modal content swap */
#modal-body {
    transition: opacity 0.2s ease-in-out;
}

.htmx-swapping #modal-body {
    opacity: 0.5;
}

/* AI Brief content styling */
.ai-brief-content {
    background: rgba(0, 123, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.ai-brief-content h1,
.ai-brief-content h2,
.ai-brief-content h3 {
    color: #1100ffff;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.ai-brief-content p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modal-action-icons {
        gap: 0.5rem !important;
    }
    
    .modal-action-icons .btn {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
}
