/**
 * Plan your Project Block Styles
 *
 * Minimal functional styles only
 */

/* Screen reader only class */
.plan-your-project-block .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.plan-your-project-block .project-question h2 {
    margin-bottom: var(--wp--preset--spacing--sm) !important;
    font-size: var(--wp--preset--font-size--medium);
    font-weight: 600;
}

/* Space options grid */
.plan-your-project-block .space-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--wp--preset--spacing--gap-sm);
}

/* Individual space option */
.plan-your-project-block .space-option {
    position: relative;
}

/* Space option label */
.plan-your-project-block .space-option-label {
    display: block;
    height: 100%;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    padding: var(--wp--preset--spacing--md);
    border-radius: 4px;
    background: var(--global-palette9);
}

.plan-your-project-block .space-option-label:focus {
    outline: 2px solid var(--global-palette1);
}

.plan-your-project-block .space-option-label:hover,
.plan-your-project-block .space-option-label:focus,
.plan-your-project-block .space-option-label.active {
    background: rgba(141, 108, 58, 0.1);
}

/* Space option image */
.plan-your-project-block .space-option-image {
    margin-bottom: 10px;
}

.plan-your-project-block .space-option-image img {
    width: 100%;
    height: auto;
    max-width: 60px;
    margin: 0 auto;
    display: block;
}

/* Space option text */
.plan-your-project-block .space-option-text {
    text-align: center;
}

.plan-your-project-block .space-option input {
    display: none;
}

/* Action buttons */
.plan-your-project-block .project-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

/* Button base styles */
.plan-your-project-block .btn {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    border: none;
    text-align: center;
}

/* Disabled button state */
.plan-your-project-block .btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.plan-your-project-block .project-actions .kb-button {
    border: 2px solid var(--global-palette-btn-bg);
    padding: clamp(9px, calc(-3.478px + 1.014vw), 16px) clamp(18px, calc(5.522px + 1.014vw), 25px);
    font-size: var(--wp--preset--font-size--medium);
    line-height: 1.2;
}

@media (max-width: 767px) {
    .plan-your-project-block .project-actions .kb-button {
        width: 100%;
    }
}

.plan-your-project-block .project-actions .kb-button.view-all-plans {
    background: transparent;
    color: var(--global-palette-btn-bg);
}

.plan-your-project-block .project-actions .kb-button:hover,
.plan-your-project-block .project-actions .kb-button:focus,
.plan-your-project-block .project-actions .kb-button.view-all-plans:hover,
.plan-your-project-block .project-actions .kb-button.view-all-plans:focus {
    background: var(--global-palette-btn-bg-hover);
    border-color: var(--global-palette-btn-bg-hover);
    color: var(--global-palette-btn-hover);
}
.plan-your-project-block .project-actions .kb-button.continue-btn::after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 15px;
    background: url("data:image/svg+xml,%3Csvg width='11' height='12' viewBox='0 0 11 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.1406 7.03906L6.76562 10.4141L6.25 10.9531L5.17188 9.875L5.71094 9.35938L7.79688 7.25H1H0.25V5.75H1H7.79688L5.71094 3.66406L5.17188 3.125L6.25 2.07031L6.76562 2.60938L10.1406 5.98438L10.6797 6.5L10.1406 7.03906Z' fill='%23ffffff'/%3E%3C/svg%3E")
        no-repeat center / contain;
    position: relative;
    top: 1px;
    left: 2px;
    transition: all 0.3s ease-in-out;
}

/* Responsive design */
@media (max-width: 767px) {
   
    .plan-your-project-block .project-actions {
        flex-direction: column;
        align-items: center;
    }

    .plan-your-project-block .btn {
        width: 100%;
        max-width: 300px;
    }
}
