.usps-modal {
    display: block;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.usps-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 8px;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    animation: slideDown 0.3s;
}

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

.usps-modal-content h2 {
    margin-top: 0;
    color: #333;
    font-size: 24px;
}

.usps-address-comparison {
    margin: 25px 0;
}

.usps-address-option {
    border: 2px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.usps-address-option:hover {
    border-color: #2c3e50;
    background-color: #f8f9fa;
}

.usps-address-option input[type="radio"] {
    margin-right: 10px;
}

.usps-address-option input[type="radio"]:checked + label {
    color: #2c3e50;
}

.usps-address-option label {
    cursor: pointer;
    display: block;
    margin: 0;
}

.usps-address-display {
    margin-top: 10px;
    padding: 10px;
    background-color: #f8f9fa;
    border-left: 3px solid #2c3e50;
    font-size: 14px;
    line-height: 1.6;
}

.usps-modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.usps-modal-buttons button {
    flex: 1;
    padding: 12px 20px;
    font-size: 16px;
}

input[type="radio"]:checked ~ label .usps-address-display {
    border-left-color: #27ae60;
    background-color: #e8f5e9;
}