/* مودال */
.jaycoto-anchor-modal {
    position: fixed;
    z-index: 9999;
    background: rgba(0,0,0,0.5);
    top: 0; left: 0; width: 100%; height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
}

.jaycoto-modal-content {
    background: #fff;
    width: 600px;
    height: 80vh;
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    overflow: hidden;
}

.jaycoto-modal-header {position: relative;
    padding: 15px 20px;
    background: #f1f1f1;
    border-bottom: 1px solid #ddd;
    flex-shrink: 0;
}

.jaycoto-modal-header h2 {
    margin: 0;
}

.jaycoto-modal-body {
    padding: 10px 20px;
    overflow-y: auto;
    flex-grow: 1;
}

.jaycoto-modal-footer {
    padding: 10px 20px;
    background: #f9f9f9;
    border-top: 1px solid #ddd;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

.jaycoto-modal-footer-buttons {
    display: flex;
    gap: 10px;
}

.jaycoto-modal-footer .button {
    margin: 0;position: relative;
}

.jaycoto-close-modal {
    position: absolute;
    top:0px;
    right:0px;
    font-size: 24px;
    color: #999;
    background: transparent;
    border: none;
    cursor: pointer;
}

.jaycoto-close-modal:hover {
    color: #333;
}

.jaycoto-modal-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.jaycoto-modal-filters input {
    margin: 0 5px;
    padding: 5px;
    width: 200px;
}

.jaycoto-click-details-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.jaycoto-click-details-filters input {
    margin: 0 5px;
    padding: 5px;
    width: 200px;
}

.quick-range {
    background-color: #f8f9fa;
    border-color: #ccd0d4;
    color: #0073aa;
    font-weight: bold;
}

.quick-range:hover {
    background-color: #e2e6ea;
    color: #000;
}
.quick-range.active {
    background-color: #0073aa !important;
    border-color: #0073aa !important;
    color: #fff !important;
}
