.pdc-widget {
    font-family: 'Andika', sans-serif;
    width: 100%;
    margin: 20px auto;
    padding: 20px;
    border: 2px solid #000;
    border-radius: 12px;
    background: #fff;
    text-align: center;
}
.pdc-heading {
    font-family: 'Bebas Neue', cursive;
    background-color: #000;
    color: #f0ea47;
    padding: 12px;
    font-size: 1.6rem;
    border-radius: 8px 8px 0 0;
    margin: -20px -20px 15px -20px;
}

#pdc-result {
    margin-bottom: 15px;
    font-weight: bold;
    min-height: 24px;
}

#pdc-postcode {
    padding: 10px;
    width: 80%;
    font-size: 1rem;
    margin-bottom: 15px;
    border: 1px solid #000;
    border-radius: 4px;
}

#pdc-check-button {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    background-color: #000;
    color: #f0ea47;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

#pdc-check-button:hover {
    background-color: #111;
}

.pdc-widget input {
    padding: 8px;
    width: 70%;
    margin-bottom: 10px;
}

.pdc-widget button {
    padding: 8px 12px;
}

#pdc-result {
    margin-top: 10px;
    font-weight: bold;
}

#pdc-table input[type=\"text\"],
#pdc-table input[type=\"number\"] {
    width: 100%;
}

#pdc-table th,
#pdc-table td {
    padding: 8px;
    vertical-align: middle;
}

#pdc-postcode-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdc-modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    font-family: 'Andika', sans-serif;
    position: relative;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.pdc-heading {
    font-family: 'Bebas Neue', cursive;
    background-color: #000;
    color: #f0ea47;
    padding: 12px;
    font-size: 1.6rem;
    border-radius: 8px 8px 0 0;
    margin: -30px -30px 20px -30px;
}

#pdc-popup-result {
    margin-bottom: 12px;
    font-weight: bold;
    min-height: 20px;
}

#pdc-popup-postcode {
    padding: 10px;
    width: 80%;
    font-size: 1rem;
    margin-bottom: 12px;
    border: 1px solid #000;
    border-radius: 4px;
}

#pdc-popup-submit {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    background-color: #000;
    color: #f0ea47;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

#pdc-popup-submit:hover {
    background-color: #111;
}

.pdc-close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 1.6rem;
    font-weight: bold;
    color: #999;
    cursor: pointer;
}

#pdc-change-postcode {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: #000;
    color: #f0ea47;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    z-index: 9999;
}

.pdc-disabled-message {
    color: red;
    font-size: 0.85rem;
    margin-top: 5px;
    font-family: 'Andika', sans-serif;
    text-align: center;
}
