.required-label:after {
    content: "*";
    color: red;
}

.small-icon {
    font-size: 20px; /* Adjust this size as needed */
}

.done {
    text-decoration: line-through;
    color: #6c757d;
    background-color: rgba(108, 117, 125, 0.1);
    font-style: italic;
    transition: all 0.3s ease;
    padding: 5px 10px;
    position: relative;
}

.todo-order:hover {
    cursor: grab;
}

.items-wrapper::-webkit-scrollbar {
    width: 8px;
}

.items-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.items-wrapper::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.items-wrapper::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.hover-shadow:hover {
    transition: all 0.3s ease;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.hover-scale {
    transition: transform 0.2s ease;
}

.hover-scale:hover {
    transform: scale(1.1);
}

.cursor-pointer {
    cursor: pointer;
}

input[type="text"],
textarea {
    font-weight: bold !important;
    font-size: 1rem !important; /* Adjust the font size for better visibility */
    border: 2px solid #ccc !important; /* Light border for a clean look */
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1) !important; /* Subtle inner shadow */
    transition: border-color 0.3s, box-shadow 0.3s !important; /* Smooth hover/focus effect */
}

input[type="text"]:focus,
textarea:focus {
    border-color: #007bff !important ; /* Highlighted border on focus */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5) !important ; /* Glow effect on focus */
    outline: none !important ; /* Remove default focus outline */
}

input[type="search"] {
    padding: 8px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    outline: none;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #9c9c9c56;
}

input[type="search"]:focus {
    border-color: #ff0000 !important;
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.1);
}

input[type="search"]::placeholder {
    color: #999;
}

.metismenu .has-custom:after {
    border-color: red;
    transition: border-color 0.3s ease;
}

.metismenu .has-custom:before {
    content: "";
    border-color: purple;
    border-width: 2px;
    height: 100%;
    border-style: solid;
    position: absolute;
    top: 0;
    left: 0;
}
/* Hover effect for both ::before and ::after */
.metismenu .has-custom:hover:after {
    border-color: orange;
}

.metismenu .has-custom:hover:before {
    border-color: green;
    opacity: 1; /* Remove transparency on hover */
    transform: scale(1.1); /* Slightly scale up on hover */
}

/* Focus state for accessibility */
.metismenu .has-custom:focus:after {
    border-color: purple;
}

/* Active state (e.g., when dropdown is open) */
.metismenu .has-custom.active:after {
    border-color: rgb(206, 16, 48);
}

.metismenu .has-custom.active:before {
    border-color: cyan;
}

/* @keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0.5; }
}

.metismenu .has-custom:before {
    animation: pulse 2s infinite;
} */
@keyframes attention-pulse {
    0%,
    100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.7));
        text-shadow: 0 0 6px rgba(255, 0, 0, 0.5);
    }
    25% {
        transform: scale(1.08) rotate(-2deg);
        filter: drop-shadow(0 0 8px rgba(255, 50, 50, 0.8));
        text-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
    }
    50% {
        transform: scale(1.12) rotate(0deg);
        filter: drop-shadow(0 0 10px rgba(255, 100, 0, 0.9));
        text-shadow: 0 0 10px rgba(255, 100, 0, 0.7);
    }
    75% {
        transform: scale(1.08) rotate(2deg);
        filter: drop-shadow(0 0 8px rgba(255, 50, 50, 0.8));
        text-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
    }
}

.info-icon {
    animation: attention-pulse 1.2s ease-in-out 1;
    color: #ff0000;
    transition: all 0.3s ease;
    cursor: pointer;
    will-change: transform, filter;
    font-weight: bold;
    display: inline-block;
}

.info-icon:hover {
    color: #ff6600;
    transform: scale(1.15);
    filter: drop-shadow(0 0 10px rgba(255, 102, 0, 0.9));
    animation: none;
}

.info-icon-reminder {
    animation: glow-pulse 4s ease-in-out 1;
    color: #eeeeed;
    transition: all 0.1s ease;
    cursor: pointer;
    /* will-change: transform; */
}
.info-icon-reminder:hover {
    text-shadow: 0 0 8px #fff, 0 0 16px #ff00cc, 0 0 32px #ff00cc;
    transition: text-shadow 0.3s ease;
}

[data-bs-theme="dark"] .hoverlyio:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

[data-bs-theme="light"] .hoverlyio:hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
}
[data-bs-theme="semi-dark"] .hoverlyio:hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
}

#custom-confirm-message {
    margin-bottom: 2rem !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    color: #333 !important;
    line-height: 1.6 !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
    padding: 0 1rem !important; /* optional: adds side breathing room */
}
