/* Modal specific styles */
dialog.modal {
    transition: transform 0.3s ease-in-out;
}

dialog.modal .modal-box {
    padding: 2rem !important;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    max-width: 42rem !important;
    min-height: 500px !important;
}

dialog.modal .form-control {
    margin-bottom: 1.5rem;
}

dialog.modal input.input {
    transition: border-color 0.15s ease-in-out;
    width: 100%;
}

dialog.modal input.input:focus {
    outline: none;
    border-color: hsl(var(--p));
    box-shadow: 0 0 0 2px rgba(var(--p), 0.2);
}

#suggestions-list {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

#suggestions-list::-webkit-scrollbar {
    width: 6px;
}

#suggestions-list::-webkit-scrollbar-track {
    background: transparent;
}

#suggestions-list::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

/* Modal action buttons */
dialog.modal .modal-action {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

dialog.modal .btn-primary {
    min-width: 120px;
}
