/**
 * Better Oxygen Frontend Styles
 */

.better-oxygen-element {
    box-sizing: border-box;
    position: relative;
}

.better-oxygen-element *,
.better-oxygen-element *::before,
.better-oxygen-element *::after {
    box-sizing: inherit;
}

.better-oxygen-shortcode {
    margin: 20px 0;
}

.bo-element-inner {
    width: 100%;
}

.bo-title {
    margin-top: 0;
    margin-bottom: 15px;
}

.bo-content {
    margin-bottom: 20px;
    line-height: 1.6;
}

.bo-button-wrapper {
    margin-top: 20px;
}

.bo-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007cba;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.bo-button:hover {
    background-color: #005a87;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.bo-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* Layout variations */
.bo-layout-horizontal .bo-element-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.bo-layout-horizontal .bo-content {
    flex: 1;
    margin-bottom: 0;
}

.bo-layout-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    background-color: #ffffff;
    transition: box-shadow 0.3s ease;
}

.bo-layout-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive styles */
@media (max-width: 768px) {
    .bo-layout-horizontal .bo-element-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .bo-layout-horizontal .bo-content {
        margin-bottom: 20px;
    }
}