/**
 * Modal Styles
 */

.honig-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.honig-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.honig-modal-content {
    position: relative;
    background-color: #ffffff;
    border-radius: 8px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 10001;
}

.honig-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    z-index: 10002;
}

.honig-modal-close:hover {
    color: #000;
}

.honig-modal-body {
    padding: 40px;
}

.honig-modal-body h1,
.honig-modal-body h2,
.honig-modal-body h3 {
    margin-top: 0;
    color: #2b9b47;
}

.honig-modal-body p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.honig-modal-body ul,
.honig-modal-body ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

@media (max-width: 768px) {
    .honig-modal {
        padding: 10px;
    }
    
    .honig-modal-content {
        max-height: 95vh;
    }
    
    .honig-modal-body {
        padding: 30px 20px;
    }
}
