/* Simple Slide Panel Styles */
.ssp-trigger {
    cursor: pointer;
    display: inline-block;
    padding: 5px 10px;
    background: #f1f1f1;
    border-radius: 3px;
}

.ssp-trigger:hover {
    background: #e1e1e1;
}

.ssp-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

.ssp-panel {
    display: none;
    position: fixed;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    overflow-y: auto;
}

.ssp-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #f1f1f1;
    border-bottom: 1px solid #ddd;
}

.ssp-panel-header h2 {
    margin: 0;
    font-size: 18px;
}

.ssp-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.ssp-panel-content {
    padding: 15px;
}

/* Side panel positions */
.ssp-left {
    top: 0;
    left: 0;
    height: 100%;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.ssp-right {
    top: 0;
    right: 0;
    height: 100%;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.ssp-top {
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.ssp-bottom {
    bottom: 0;
    left: 0;
    width: 100%;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

/* Modal type */
.ssp-modal {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 80%;
    max-width: 600px;
    max-height: 80%;
    opacity: 0;
    border-radius: 5px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Active states */
.ssp-left.active {
    transform: translateX(0);
}

.ssp-right.active {
    transform: translateX(0);
}

.ssp-top.active {
    transform: translateY(0);
}

.ssp-bottom.active {
    transform: translateY(0);
}

.ssp-modal.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
