/* =============================================
   Bruo Gas Calculator — Postal Check [bruo_postal_check]
   ============================================= */

.bgc-postal-check,
.bgc-postal-check * {
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

.bgc-postal-check {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 100%;
    margin: 0 auto;
    padding: 48px 24px;
    background: linear-gradient(135deg, #003450 0%, #00507a 100%);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.bgc-postal-check::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: rgba(255, 176, 0, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.bgc-postal-check::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 140px;
    height: 140px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

/* Icon */
.bgc-pc-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(255, 176, 0, 0.15);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffb000;
    margin-top: 2px;
}

/* Body */
.bgc-pc-body {
    flex: 1;
    min-width: 0;
}

.bgc-pc-label {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.4;
}

/* Input wrap */
.bgc-pc-form {
    display: flex;
    justify-content: center;
}

.bgc-pc-input-wrap {
    display: flex;
    gap: 10px;
}

.bgc-pc-input-wrap:focus-within {
    box-shadow: none;
}

.bgc-pc-input {
    font-family: 'Poppins', sans-serif;
    width: 360px;
    padding: 11px 14px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    text-align: center;
}

.bgc-pc-input::placeholder,
.bgc-pc-input::-webkit-input-placeholder,
.bgc-pc-input::-moz-placeholder,
.bgc-pc-input:-ms-input-placeholder {
    color: #8a9bb0 !important;
    opacity: 1 !important;
    font-weight: 400 !important;
    font-size: 14px !important;
}

.bgc-pc-btn {
    font-family: 'Poppins', sans-serif;
    background: #ffb000;
    color: #003450;
    border: none;
    border-radius: 4px;
    padding: 11px 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bgc-pc-btn:hover {
    background: #ffc233;
}

.bgc-pc-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Loading state */
.bgc-pc-loading .bgc-pc-btn svg {
    animation: bgc-pc-spin 0.6s linear infinite;
}

@keyframes bgc-pc-spin {
    to { transform: rotate(360deg); }
}

/* Shake animation */
.bgc-pc-shake {
    animation: bgc-pc-shake 0.4s ease;
}

@keyframes bgc-pc-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

/* Result */
.bgc-pc-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.4;
}

.bgc-pc-animate {
    animation: bgc-pc-slide 0.35s ease;
}

@keyframes bgc-pc-slide {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bgc-pc-result-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bgc-pc-result-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}

.bgc-pc-result-text strong {
    font-size: 14px;
    font-weight: 600;
}

/* Success */
.bgc-pc-success {
    background: rgba(39, 174, 96, 0.12);
}

.bgc-pc-success .bgc-pc-result-icon {
    background: #27ae60;
    color: #fff;
}

.bgc-pc-success .bgc-pc-result-text {
    color: #a3d9b1;
}

.bgc-pc-success .bgc-pc-result-text strong {
    color: #fff;
}

/* Error */
.bgc-pc-error {
    background: rgba(192, 57, 43, 0.12);
}

.bgc-pc-error .bgc-pc-result-icon {
    background: #c0392b;
    color: #fff;
}

.bgc-pc-error .bgc-pc-result-text {
    color: #f0a8a0;
}

.bgc-pc-error .bgc-pc-result-text strong {
    color: #fff;
}

/* Order button */
.bgc-pc-order-btn {
    display: inline-block;
    margin-top: 6px;
    font-family: 'Poppins', sans-serif;
    background: #ffb000;
    color: #003450;
    border: none;
    border-radius: 4px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.bgc-pc-order-btn:hover {
    background: #ffc233;
    color: #003450;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 500px) {
    .bgc-postal-check {
        flex-direction: column;
        padding: 32px 16px;
        gap: 12px;
    }

    .bgc-pc-icon {
        width: 36px;
        height: 36px;
    }

    .bgc-pc-icon svg {
        width: 20px;
        height: 20px;
    }

    .bgc-pc-label {
        font-size: 13px;
    }
}
