.mr-2{
    margin-right: 0.5rem;
}

.mt-0{
    margin-top: 0 !important;
}

.mt-auto{
    margin-top: auto;
}

.mb-4{
    margin-bottom: 1.5rem !important;
}

.note-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.note-card {
    background-color: #fefce8;
    border-radius: 8px;
    padding-top: 0;
    padding-right: 16px;
    padding-left: 16px;
    padding-bottom: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 180px;
    box-shadow: 0 2px 4px #fefce8;
    overflow-wrap: break-word;
    word-break: break-word;
    border: 2px solid #facc15;
}

.pin-icon {
    position: absolute;
    top: -12px;
    right: -12px;
    background-color: #fefce8;
    border-radius: 50%;
    height: 34px;
    width: 34px;
    text-align: center;
    border: 2px solid #facc15;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.note-message {
    font-size: 14px;
    line-height: 1.5;
    white-space: pre-line;
    flex-grow: 1;
    margin-bottom: 12px;
}

.note-meta {
    font-size: 12px;
    color: #666;
    text-align: right;
    border-top: 1px solid #ccc;
    padding-top: 8px;
}

.note-modal {
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.note-modal-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.note-modal-body {
    overflow-y: auto;
    padding: 24px;
    flex-grow: 1;
    min-height: 0;
}

.note-modal-header,
.note-modal-footer {
    flex-shrink: 0;
    background: #fff;
    z-index: 2;
}

.unread-notification {
    background-color: #f0f9ff !important;
}

.notification-scroll-container {
    max-height: 300px;
    overflow-y: auto;
}

.notifications-dropdown {
    width: 400px;
    max-width: 90vw;
    right: 0;
    left: auto;
}

.notification-divider{
    border: 0.1px solid #cccccc;
}

#customer-notification{
    background-color: #f9fafb;
}

.notification-list-group{
    border-bottom: 0;
    border-top: 1px solid #cccccc;
    border-left: 1px solid #cccccc;
    border-right: 1px solid #cccccc;
}

.float-end{
    float: right;
}

.unread-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    transform: translate(50%, -50%);
    background-color: #dc3545; /* Bootstrap's danger color */
    color: white;
    font-size: 10px;
    height: 16px;
    width: 16px;
    padding-top: 3px;
    border-radius: 9999px;
    font-weight: 600;
    line-height: 1;
    display: inline-block;
    text-align: center;
}