/* Button Block Styles */
.kura-button-block {
    display: inline-block;
    /*margin: 1rem 0;*/
}

.kura-button {
    display: inline-block;
    text-decoration: none;
    /* Use uppercase for first letter of words */
    text-transform: capitalize;
    text-align: center;
    border: 1px solid;
    border-radius: 40px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: satoshi, sans-serif;
    white-space: nowrap;
    padding: 1rem 1.5rem;
    font-size: 1rem;
}

/* Button Styles */
.kura-button--primary {
    background-color: var(--color-green-primary);
    color: white;
    border-color: var(--color-green-primary);
}

.kura-button--primary:hover {
    background-color: var(--color-green-dark-100);
    border-color: var(--color-green-dark-100);
    color: #e8e8e8;
    box-shadow: 0 4px 15px var(--color-green-dark-100);
    text-decoration: none;
    font-weight: 500;
    transform: translateY(-2px);
}

.kura-button--secondary {
    background-color: white;
    color: var(--color-gray-900);
    border-color: white;
}

.kura-button--secondary:hover {
    background-color: #e1e1e1;
    border-color: #e1e1e1;
    color: var(--color-gray-900);
    transform: translateY(-2px);
    text-decoration: none;
    font-weight: 500;
}

.kura-button--outline {
    background-color: transparent;
    color: var(--color-green-dark-300);
    border-color: var(--color-green-dark-300);
}

.kura-button--outline:hover {
    background-color: var(--color-green-dark-300);
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
    font-weight: 500;
}

/* Button States */
.kura-button:focus {
    outline: 2px solid var(--color-green-primary);
    outline-offset: 2px;
}

.kura-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.kura-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Editor specific styles */
.wp-block-kura-button .kura-button {
    pointer-events: none;
}

.wp-block-kura-button .kura-button-block {
    margin: 0;
}

/* Ensure editor styling works properly */
.block-editor-block-list__layout .kura-button {
    font-family: satoshi, sans-serif !important;
}

/* Override any editor interference */
.block-editor-block-list__layout .kura-button span {
    color: inherit !important;
    font-weight: inherit !important;
    font-size: inherit !important;
    text-decoration: none !important;
}
