.pergola-recommender {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Raleway', sans-serif;
    background-color: #223030;
    color: #F4F0ED;
}

.title {
    text-align: left;
    margin-bottom: 30px;
    color: #F4F0ED;
    font-weight: normal;
    font-size: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: normal;
    color: #F4F0ED;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #F4F0ED;
}

/* Style dla radio buttonów */
.radio-label input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #F4F0ED;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
    margin: 0;
}

.radio-label input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #F4F0ED;
    border-radius: 50%;
}

.dimensions-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .dimensions-group {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Style dla pól input */
.dimension-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #F4F0ED;
    border-radius: 0;
    background: transparent;
    color: #F4F0ED;
}

/* Style dla placeholdera */
.dimension-input::placeholder {
    color: rgba(244, 240, 237, 0.7);
}

/* Wymuszenie koloru placeholdera dla różnych przeglądarek */
.dimension-input::-webkit-input-placeholder {
    color: rgba(244, 240, 237, 0.7) !important;
    opacity: 1;
}

.dimension-input::-moz-placeholder {
    color: rgba(244, 240, 237, 0.7) !important;
    opacity: 1;
}

.dimension-input:-ms-input-placeholder {
    color: rgba(244, 240, 237, 0.7) !important;
    opacity: 1;
}

.dimension-input:focus::placeholder {
    color: rgba(244, 240, 237, 0.7) !important;
    opacity: 1;
}

/* Usunięcie strzałek z pól numerycznych */
.dimension-input::-webkit-outer-spin-button,
.dimension-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.dimension-input[type=number] {
    -moz-appearance: textfield;
}

.submit-button {
    width: auto;
    padding: 12px 24px;
    border: 1px solid #F4F0ED;
    border-radius: 0;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Raleway', sans-serif;
    transition: all 0.3s ease;
    background: transparent;
    color: #F4F0ED;
}

.submit-button.enabled:hover {
    background-color: #F4F0ED;
    color: #223030;
}

.submit-button.disabled {
    background-color: transparent;
    border-color: rgba(244, 240, 237, 0.5);
    color: rgba(244, 240, 237, 0.5);
    cursor: not-allowed;
}

.reset-button {
    width: auto;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid #F4F0ED;
    border-radius: 0;
    margin-top: 10px;
    cursor: pointer;
    color: #F4F0ED;
    font-family: 'Raleway', sans-serif;
}

.reset-button:hover {
    background-color: #F4F0ED;
    color: #223030;
}

.result {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #F4F0ED;
}

.result a {
    color: #F4F0ED;
    text-decoration: none;
    border-bottom: 1px solid #F4F0ED;
}

.result a:hover {
    opacity: 0.8;
}

.result.success {
    background-color: transparent;
    border: 1px solid #F4F0ED;
    color: #F4F0ED;
}

.result.warning {
    background-color: transparent;
    border: 1px solid #F4F0ED;
    color: #F4F0ED;
}

/* Dodatkowe style dla popupu */
.elementor-popup-modal .pergola-recommender {
    max-width: 100%;
}