/* Bulma Blocks Editor Styles */

/* Import basic Bulma button styles for editor if needed */
.button {
    background-color: white;
    border-color: #dbdbdb;
    border-width: 1px;
    color: #363636;
    cursor: pointer;
    justify-content: center;
    padding-bottom: calc(0.5em - 1px);
    padding-left: 1em;
    padding-right: 1em;
    padding-top: calc(0.5em - 1px);
    text-align: center;
    white-space: nowrap;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 4px;
    box-shadow: none;
    display: inline-flex;
    font-size: 1rem;
    height: 2.5em;
    line-height: 1.5;
    position: relative;
    vertical-align: top;
    text-decoration: none;
    font-family: inherit;
}

.button:hover {
    border-color: #b5b5b5;
    color: #363636;
}

.button.is-primary {
    background-color: #00d1b2;
    border-color: transparent;
    color: #fff;
}

.button.is-primary:hover {
    background-color: #00c4a7;
    border-color: transparent;
    color: #fff;
}

/* Button sizes */
.button.is-small {
    font-size: 0.75rem;
}

.button.is-medium {
    font-size: 1.25rem;
}

.button.is-large {
    font-size: 1.5rem;
}

/* Button colors */
.button.is-link {
    background-color: #3273dc;
    border-color: transparent;
    color: #fff;
}

.button.is-info {
    background-color: #3298dc;
    border-color: transparent;
    color: #fff;
}

.button.is-success {
    background-color: #48c774;
    border-color: transparent;
    color: #fff;
}

.button.is-warning {
    background-color: #ffdd57;
    border-color: transparent;
    color: rgba(0, 0, 0, 0.7);
}

.button.is-danger {
    background-color: #f14668;
    border-color: transparent;
    color: #fff;
}

.button.is-light {
    background-color: #f5f5f5;
    border-color: transparent;
    color: rgba(0, 0, 0, 0.7);
}

.button.is-dark {
    background-color: #363636;
    border-color: transparent;
    color: #fff;
}

/* Notification styles */
.notification {
    background-color: #f5f5f5;
    border-radius: 4px;
    position: relative;
    padding: 1.25rem 2.5rem 1.25rem 1.5rem;
}

.notification.is-primary {
    background-color: #00d1b2;
    color: #fff;
}

.notification.is-link {
    background-color: #3273dc;
    color: #fff;
}

.notification.is-info {
    background-color: #3298dc;
    color: #fff;
}

.notification.is-success {
    background-color: #48c774;
    color: #fff;
}

.notification.is-warning {
    background-color: #ffdd57;
    color: rgba(0, 0, 0, 0.7);
}

.notification.is-danger {
    background-color: #f14668;
    color: #fff;
}

.notification.is-light {
    background-color: #f5f5f5;
    color: rgba(0, 0, 0, 0.7);
}

/* Tabs styles for editor */
.tabs {
    align-items: stretch;
    display: flex;
    font-size: 1rem;
    justify-content: space-between;
    overflow: hidden;
    overflow-x: auto;
    white-space: nowrap;
}

.tabs ul {
    align-items: center;
    border-bottom-color: #dbdbdb;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    color: #4a4a4a;
    display: flex;
    flex-grow: 1;
    flex-shrink: 0;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tabs li {
    display: block;
    list-style: none;
}

.tabs li a {
    align-items: center;
    border-bottom-color: #dbdbdb;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    color: #4a4a4a;
    display: flex;
    justify-content: center;
    margin-bottom: -1px;
    padding: 0.5em 1em;
    vertical-align: top;
    text-decoration: none;
    cursor: pointer;
}

.tabs li.is-active a {
    border-bottom-color: #3273dc;
    color: #3273dc;
}

.tabs.is-boxed li.is-active a {
    background-color: white;
    border-color: #dbdbdb;
    border-bottom-color: transparent !important;
}

.tabs.is-toggle li a {
    border-color: #dbdbdb;
    border-style: solid;
    border-width: 1px;
    margin-bottom: 0;
    position: relative;
}

.tabs.is-toggle li + li {
    margin-left: -1px;
}

.tabs.is-toggle li:first-child a {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.tabs.is-toggle li:last-child a {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.tabs.is-toggle li.is-active a {
    background-color: #3273dc;
    border-color: #3273dc;
    color: #fff;
    z-index: 1;
}

/* Hero styles */
.hero {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero .hero-body {
    flex-grow: 1;
    flex-shrink: 0;
    padding: 3rem 1.5rem;
}

.hero.is-medium .hero-body {
    padding: 9rem 1.5rem;
}

.hero.is-large .hero-body {
    padding: 18rem 1.5rem;
}

.hero.is-fullheight {
    min-height: 100vh;
}

.hero.is-primary {
    background-color: #00d1b2;
    color: #fff;
}

.hero.is-link {
    background-color: #3273dc;
    color: #fff;
}

.hero.is-info {
    background-color: #3298dc;
    color: #fff;
}

.hero.is-success {
    background-color: #48c774;
    color: #fff;
}

.hero.is-warning {
    background-color: #ffdd57;
    color: rgba(0, 0, 0, 0.7);
}

.hero.is-danger {
    background-color: #f14668;
    color: #fff;
}

.hero.is-light {
    background-color: #f5f5f5;
    color: rgba(0, 0, 0, 0.7);
}

.hero.is-dark {
    background-color: #363636;
    color: #fff;
}

.hero .title {
    color: inherit;
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.125;
    margin-bottom: 1.5rem;
}

.hero .subtitle {
    color: inherit;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 1.5rem;
}

/* Text alignment */
.has-text-centered {
    text-align: center !important;
}

.has-text-left {
    text-align: left !important;
}

.has-text-right {
    text-align: right !important;
}

/* Container */
.container {
    flex-grow: 1;
    margin: 0 auto;
    position: relative;
    width: auto;
    max-width: 1344px;
    padding: 0 32px;
}

/* Buttons wrapper */
.buttons {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.buttons .button {
    margin-bottom: 0.5rem;
}

.buttons .button:not(:last-child):not(.is-fullwidth) {
    margin-right: 0.5rem;
}

.has-text-centered .buttons {
    justify-content: center;
}

.has-text-right .buttons {
    justify-content: flex-end;
}

/* Box Block */
.wp-block-bulma-blocks-box {
    margin: 1rem 0;
}

.box {
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0px 0 1px rgba(10, 10, 10, 0.02);
    color: #4a4a4a;
    display: block;
    padding: 1.25rem;
}

/* Button Block */
.wp-block-bulma-blocks-button {
    margin: 0.5rem 0;
}

.wp-block-bulma-blocks-button .button {
    display: inline-block;
    min-height: auto;
    height: auto;
}

.bulma-button-editor-wrapper {
    display: inline-block;
}

/* Notification Block */
.wp-block-bulma-blocks-notification {
    margin: 1rem 0;
}

/* Card Block */
.wp-block-bulma-blocks-card {
    margin: 1rem 0;
}

.card {
    background-color: white;
    border-radius: 0.25rem;
    box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0px 0 1px rgba(10, 10, 10, 0.02);
    color: #4a4a4a;
    max-width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.card-header {
    background-color: transparent;
    align-items: stretch;
    box-shadow: 0 0.125em 0.25em rgba(10, 10, 10, 0.1);
    display: flex;
}

.card-header-title {
    align-items: center;
    color: #363636;
    display: flex;
    flex-grow: 1;
    font-weight: 700;
    padding: 0.75rem 1rem;
}

.card-image {
    display: block;
    position: relative;
}

.card-content {
    background-color: transparent;
    padding: 1.5rem;
}

.card-footer {
    background-color: transparent;
    border-top: 1px solid #ededed;
    align-items: stretch;
    display: flex;
    padding: 0.75rem 1rem;
}

/* Tabs Block */
.wp-block-bulma-blocks-tabs {
    margin: 1rem 0;
}

.bulma-tabs-editor-wrapper .tab-content {
    padding: 1rem;
    border: 2px dashed #ddd;
    border-top: none;
    background-color: #f9f9f9;
}

.bulma-tabs-editor-wrapper .editor-tab-content {
    background-color: #f9f9f9 !important;
}

.tab-pane {
    display: none;
}

.tab-pane.is-active {
    display: block;
}

/* Hero Block */
.wp-block-bulma-blocks-hero {
    margin: 1rem 0;
}

/* Icon Button Block */
.wp-block-bulma-blocks-icon-button {
    margin: 1rem 0;
}

.service-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 1em 2em -0.125em rgba(10, 10, 10, 0.15), 0 0px 0 1px rgba(10, 10, 10, 0.02);
}

.service-box .icon {
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.service-box .title {
    margin-bottom: 1rem;
}

/* Background color utilities */
.has-background-primary {
    background-color: #00d1b2 !important;
}

.has-background-link {
    background-color: #3273dc !important;
}

.has-background-info {
    background-color: #3298dc !important;
}

.has-background-success {
    background-color: #48c774 !important;
}

.has-background-warning {
    background-color: #ffdd57 !important;
}

.has-background-danger {
    background-color: #f14668 !important;
}

.has-background-light {
    background-color: #f5f5f5 !important;
}

.has-background-dark {
    background-color: #363636 !important;
}

.has-background-white {
    background-color: #ffffff !important;
}

.has-background-black {
    background-color: #0a0a0a !important;
}

/* Margin utilities */
.mt-3 {
    margin-top: 0.75rem !important;
}

/* Icon styling */
.icon {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    height: 1.5rem;
    width: 1.5rem;
}

.icon.is-large {
    height: 3rem;
    width: 3rem;
}

.icon svg,
.icon i {
    display: block;
    margin: 0 auto;
    text-align: center;
}

.icon svg {
    fill: currentColor;
    height: 100%;
    width: 100%;
}

/* Editor specific styles */
.editor-styles-wrapper .wp-block-bulma-blocks-tabs .tab-content {
    background-color: #f7f7f7;
    border: 2px dashed #ddd;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .tabs {
        overflow-x: auto;
    }
    
    .card-content {
        padding: 1rem;
    }
    
    .hero .hero-body {
        padding: 1.5rem;
    }
    
    .hero .title {
        font-size: 2rem;
    }
    
    .hero .subtitle {
        font-size: 1.125rem;
    }
}
