/* Custom components */
.divSearch{
    margin-top: 10px !important;
}
.text-color{
    color: #092c4c;
}
.search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    margin-top: 0 !important;
    border-radius: 1rem;
    border: none;
    outline: none;
    font-size: 1rem;
    background: white;
    color: #374151;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.border-input{
    border: #bbbfc3 1px solid;
}
.search-input:focus {
    ring: 2px;
    ring-color: #3b82f6;
}
#summary-container {
    max-height: 300px;   
    overflow-y: auto;     
    overflow-x: hidden;  
  }

  .divSummary{
    margin-top: 8px !important;
  }

.summary-card {
    background: #ffffff;
    border: #bbbfc3 1px solid;
    border-radius: 1rem;
    padding: 1rem;
    color: #092c4c;
}

.summary-card-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
}
.summary-title-content{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.summary-left-content{
    display: flex;
    flex-direction: rơw;
    justify-content: space-between;
    gap: 3rem;
}
.summary-right-content{
    flex: 1;
    display: flex;
    justify-content: flex-end;
}
.summary-card-layout{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
}
.summary-title{
    font-weight: 600;
    font-size: 16px;
    &::last-child {
        margin-top: 5px;
    }
}
.text-category{
    font-size: 18px !important;
    margin-bottom: 10px;
}

.content-layout {
    background-color: #ffffff;
    padding: 12px;
    border-radius: 8px;
    margin-top: 8px;
}

.date-text {
    font-size: 0.875rem;
    color: #092c4c;
    margin-bottom: 0.25rem;
}

.summary-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #092c4c;
}

.toggle-btn {
    padding: 0.75rem 2rem;
    border-radius: 2rem;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.toggle-btn-active {
    background-color: #092c4c;
    color: white;
}

.toggle-btn-inactive {
    background: #ffffff;
    color: #092c4c;
}

.toggle-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.result-panel {
    background: white;
    border-radius: 1rem;
    padding: 0.75rem;
    color: #092c4c;
    height: 200px;
    margin-top: 8px !important;
}

.result-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #092c4c;
}

/* Custom checkbox styling */
.custom-checkbox-container {
    position: relative;
    display: inline-block;
}

.custom-checkbox {
    appearance: none;
    width: 24px;
    height: 24px;
    border: #bbbfc3 1px solid;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.custom-checkbox:checked {
    background-color: #607380;
    color: #607380;
}

.custom-checkbox-label {
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.custom-checkbox:not(:checked) + .custom-checkbox-label svg {
    display: none;
}

.custom-checkbox:checked + .custom-checkbox-label svg {
    display: block;
}

.divButton {
    margin-top: 8px !important;
}
/* Date picker styling */
input[type="date"] {
    color-scheme: light;
    color: #092c4c;
    border: 1px solid #bbbfc3; 
    padding: 0.5rem; 
    border-radius: 0.5rem; 
    background-color: white;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(15%) sepia(59%) saturate(1455%) hue-rotate(204deg) brightness(95%) contrast(101%);
    width: 18px;
    height: 18px;
    opacity: 0.8;
    transition: all 0.2s ease;
} 

.result-content{
    max-height: 15vh;
    overflow-y: auto;
}


/* Styling cho markdown content */
.prose {
    color: #092c4c !important;
}

.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
    color: #092c4c !important;
    margin-bottom: 8px !important;
    margin-top: 16px !important;
}

.prose p {
    color: #092c4c !important;
    margin-bottom: 8px !important;
}

.prose ul, .prose ol {
    color: #092c4c !important;
    margin-left: 16px !important;
}

.prose li {
    margin-bottom: 4px !important;
}

.prose strong {
    color: #092c4c !important;
    font-weight: 600 !important;
}
