/* Container styling */
#iddon-fence-calculator {
    border: 1px solid #ddd;
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
    background: #fff;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* Headings */
#iddon-fence-calculator h2 {
    color: #557338;
    margin-top: 0;
    font-size: 1.8em;
}

/* Inline fields */
.inline-fields {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.field-group {
    display: flex;
    flex-direction: column;
    min-width: 150px;
    margin-bottom: 10px;
}

/* Inputs and selects */
#iddon-fence-calculator input[type="number"],
#iddon-fence-calculator select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    max-width: 200px;
    transition: border 0.25s;
}
#iddon-fence-calculator input[type="number"]:focus,
#iddon-fence-calculator select:focus {
    border-color: #557338;
    outline: none;
}

/* Panel and trellis buttons */
.panel-carousel .panel-btn,
.trellis-carousel .trellis-btn {
    margin: 5px;
    padding: 10px;
    background: #f5f5f5;
    border: 1px solid #ccc;
    cursor: pointer;
    text-align: center;
    width: 200px;
    transition: box-shadow 0.25s, background 0.25s;
}
.panel-carousel .panel-btn:hover,
.trellis-carousel .trellis-btn:hover {
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    background: #eaeaea;
}
.panel-btn.active,
.trellis-btn.active {
    background: #557338;
    color: #fff;
    border-color: #557338;
}

/* Colour tiles */
.colour-tile {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border: 2px solid #ccc;
    margin-right: 5px;
    text-align: center;
    cursor: pointer;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    border-radius: 4px;
    transition: border 0.25s;
}
.colour-tile.selected {
    border: 3px solid #557338;
}

/* Step spacing */
.step {
    margin-bottom: 20px;
}

/* Buttons */
button {
    padding: 10px 15px;
    background: #557338;
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    margin-right: 10px;
    transition: background 0.25s;
}
button:hover {
    background: #446624;
}

/* Custom radio button styling */
.radio-group label {
    display: inline-block;
    background: #f7f7f7;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px 12px;
    margin-right: 8px;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s;
}
.radio-group input[type="radio"] {
    display: none;
}
.radio-group label:hover {
    background: #eaeaea;
}
.radio-group input[type="radio"]:checked + span {
    font-weight: bold;
    color: #557338;
}

/* Post options styling */
.post-options label {
    display: inline-block;
    background: #f7f7f7;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px 12px;
    margin: 5px;
    cursor: pointer;
    transition: background 0.25s;
}
.post-options label:hover {
    background: #eaeaea;
}
.post-options input[type="radio"] {
    display: none;
}

/* Custom styling for other radio groups */
.radio-custom {
    display: inline-block;
    background: #f7f7f7;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px 10px;
    margin-right: 8px;
    cursor: pointer;
}
.radio-custom input[type="radio"] {
    display: none;
}
.radio-custom:hover {
    background: #eaeaea;
}
.radio-custom input[type="radio"]:checked + span {
    font-weight: bold;
    color: #557338;
}

/* Custom slick arrow styling */
.iddon-custom-prev,
.iddon-custom-next {
    font-size: 24px;
    color: #557338;
    cursor: pointer;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iddon-custom-prev:hover,
.iddon-custom-next:hover {
    color: #446624;
}

/* Post Options Styling */
.post-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.post-options label {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    width: 220px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.post-options label:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transform: translateY(-5px);
}

.post-options input[type="radio"] {
    display: none;
}

.post-image img {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 10px;
}

.post-title {
    font-weight: bold;
    font-size: 1em;
    color: #557338;
    text-align: center;
}

/* Durapost Colour Options */
#durapost-colour {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

#durapost-colour label {
    margin-right: 15px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 5px;
    transition: background 0.3s;
}

#durapost-colour label:hover {
    background: #e1e1e1;
}

.radio-custom span {
    display: block;
    text-align: center;
}

/* Button Styling */
button {
    padding: 10px 20px;
    background: #557338;
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 1em;
}

button:hover {
    background: #446624;
}

/* Gravelboard Options Styling */
.gravelboard-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto 20px;
    width: 220px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.gravelboard-option:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transform: translateY(-5px);
}

.gravelboard-label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.gravelboard-label input[type="radio"] {
    margin: 0;
}

.gravelboard-image img {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 10px;
}

.gravelboard-title {
    font-weight: bold;
    font-size: 1em;
    color: #557338;
    text-align: center;
}