/* ---- Postcode Checker Section ---- */
.cotg-lp-seo-block.cotg-lp-postcode-checker {
    padding: 4.5rem 0;
    background: linear-gradient(180deg, rgba(254, 124, 6, 0.08) 0%, #ffffff 52%, #ffffff 100%);
    border-top: 1px solid rgba(254, 124, 6, 0.15);
    border-bottom: 1px solid rgba(254, 124, 6, 0.15);
    position: relative;
    overflow: hidden;
}

.cotg-lp-seo-block.cotg-lp-postcode-checker::before {
    content: "";
    position: absolute;
    top: -160px;
    left: -200px;
    width: 520px;
    height: 520px;
    border-radius: 999px;
    background: radial-gradient(circle at 40% 35%, rgba(254, 124, 6, 0.22), rgba(254, 124, 6, 0.0) 62%);
    pointer-events: none;
}

.cotg-lp-seo-block.cotg-lp-postcode-checker::after {
    content: "";
    position: absolute;
    bottom: -190px;
    right: -220px;
    width: 560px;
    height: 560px;
    border-radius: 999px;
    background: radial-gradient(circle at 35% 35%, rgba(35, 31, 32, 0.10), rgba(35, 31, 32, 0.0) 62%);
    pointer-events: none;
}

.cotg-lp-seo-block.cotg-lp-postcode-checker .container {
    position: relative;
    z-index: 1;
}

.cotg-lp-postcode-shell {
    background: #ffffff;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 12px 36px rgba(35, 31, 32, 0.1);
    border: 2px solid rgba(254, 124, 6, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.cotg-lp-postcode-shell:hover {
    box-shadow: 0 18px 48px rgba(35, 31, 32, 0.15);
    transform: translateY(-2px);
}

.cotg-lp-postcode-eyebrow {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #fe7c06;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(254, 124, 6, 0.08);
    border-radius: 999px;
}

.cotg-lp-postcode-shell .cotg-lp-seo-h2 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    color: #231f20;
    margin-bottom: 0.8rem;
    letter-spacing: -0.02em;
}

.cotg-lp-postcode-lead {
    font-size: 16px;
    line-height: 1.6;
    color: #5a5a5a;
    margin-bottom: 2rem;
    max-width: 600px;
}

.cotg-lp-postcode-label {
    display: block;
    font-weight: 600;
    font-size: 15px;
    color: #231f20;
    margin-bottom: 0.7rem;
    letter-spacing: -0.01em;
}

.cotg-lp-postcode-input {
    font-size: 18px;
    font-weight: 500;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    letter-spacing: 0.05em;
    text-align: left;
    background: #fafafa;
}

.cotg-lp-postcode-input:focus {
    outline: none;
    border-color: #fe7c06;
    box-shadow: 0 0 0 3px rgba(254, 124, 6, 0.15);
}

.cotg-lp-postcode-input::placeholder {
    color: #c0c0c0;
    font-weight: 400;
    letter-spacing: 0.02em;
    opacity: 0.9;
}

.cotg-lp-postcode-help {
    display: block;
    font-size: 13px;
    line-height: 1.5;
    color: #7a7a7a;
    margin-top: 0.6rem;
    font-style: italic;
}

.cotg-lp-postcode-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 14px 24px;
    background: #fe7c06;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    letter-spacing: 0.02em;
    box-shadow: 0 6px 20px rgba(254, 124, 6, 0.25);
}

.cotg-lp-postcode-btn:hover {
    background: #e66c00;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(254, 124, 6, 0.35);
}

.cotg-lp-postcode-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(254, 124, 6, 0.2);
}

.cotg-lp-postcode-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.6;
}

.cotg-lp-postcode-result {
    margin-top: 2rem;
    padding: 1.25rem;
    border-radius: 12px;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
    animation: fadeIn 0.4s ease;
}

.cotg-lp-postcode-alert-title {
    font-weight: 800;
    color: inherit;
}

.cotg-lp-postcode-alert-note {
    margin-top: 8px;
    font-size: 14px;
    opacity: 0.9;
}

.cotg-lp-postcode-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.cotg-lp-postcode-actions .book-button {
    margin: 0;
}

.cotg-lp-postcode-result[hidden] {
    display: none;
}

.cotg-lp-postcode-result.success {
    background: rgba(76, 175, 80, 0.1);
    border: 2px solid #4caf50;
    color: #2e7d32;
}

.cotg-lp-postcode-result.error {
    background: rgba(244, 67, 54, 0.1);
    border: 2px solid #f44336;
    color: #c62828;
}

.cotg-lp-postcode-result.out-of-area {
    background: rgba(255, 193, 7, 0.14);
    border: 2px solid #ffc107;
    color: #7a5b00;
}

.cotg-lp-postcode-result.unknown {
    background: rgba(23, 162, 184, 0.12);
    border: 2px solid #17a2b8;
    color: #0c5460;
}

.cotg-lp-postcode-result.success::before {
    content: "✓ ";
    font-weight: 700;
    color: #4caf50;
}

.cotg-lp-postcode-result.error::before {
    content: "✕ ";
    font-weight: 700;
    color: #f44336;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Responsive Postcode Checker ---- */
@media (max-width: 768px) {
    .cotg-lp-postcode-shell {
        padding: 2rem 1.5rem;
    }

    .cotg-lp-postcode-shell .cotg-lp-seo-h2 {
        font-size: 24px;
    }

    .cotg-lp-postcode-lead {
        font-size: 15px;
        margin-bottom: 1.5rem;
    }

    .cotg-lp-postcode-input {
        font-size: 16px;
        padding: 12px 14px;
    }

    .cotg-lp-postcode-btn {
        padding: 12px 20px;
        font-size: 15px;
    }
}
