/* Divider block styles */
.divider-block-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 20px;
    padding: 10px 0;
}

.divider-line {
    border-top: 2px solid #ddd;
    width: 100%;
    height: 0;
    margin: 0;
    display: inline-block;
    transition: all 0.2s ease;
}

/* Block wrapper specific styles */
.divider-block {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    min-height: auto;
}

.divider-block:hover {
    background: rgba(0, 0, 0, 0.02);
    border-radius: var(--border-radius);
}

/* Block edit overlay positioning for divider */
.divider-block .block-edit-overlay {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    padding: 4px;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.divider-block:hover .block-edit-overlay {
    opacity: 1;
}

/* Divider styles variations */
.divider-line.style-solid {
    border-style: solid;
}

.divider-line.style-dashed {
    border-style: dashed;
}

.divider-line.style-dotted {
    border-style: dotted;
}

.divider-line.style-double {
    border-style: double;
}

.divider-line.style-groove {
    border-style: groove;
}

.divider-line.style-ridge {
    border-style: ridge;
}

/* Alignment styles */
.divider-block-content[style*="text-align: left"] {
    justify-content: flex-start;
}

.divider-block-content[style*="text-align: center"] {
    justify-content: center;
}

.divider-block-content[style*="text-align: right"] {
    justify-content: flex-end;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .divider-block-content {
        padding: 8px 0;
    }
    
    .divider-block .block-edit-overlay {
        right: 5px;
        padding: 2px;
    }
}