.sp-5417c9de-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sp-5417c9de-trigger .sp-button-icon {
    display: inline-flex;
}

.sp-5417c9de-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.sp-5417c9de-modal.active {
    display: flex;
}

.sp-5417c9de-modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 75vh;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    box-sizing: border-box;
}

.sp-5417c9de-close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
    line-height: 1;
    z-index: 10;
}

.sp-5417c9de-close:hover {
    color: #333;
}

.sp-5417c9de-modal-title {
    margin-top: 0;
    margin-bottom: 15px;
    flex-shrink: 0;
    padding-right: 25px;
}

.sp-5417c9de-modal-body {
    overflow-y: auto;
    flex-grow: 1;
    padding-right: 5px;
}

body.sp-5417c9de-overflow {
    overflow: hidden;
}

/* Mobiilne vaade */
@media (max-width: 767px) {
    .sp-5417c9de-modal-content {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
        padding: 40px 20px 20px 20px;
    }
    
    .sp-5417c9de-close {
        top: 15px;
        right: 15px;
        font-size: 32px;
    }
}
