.cyp-product-wrapper {
    margin: 1em 0;
    width: 100%;
}

.cyp-input-container {
    position: relative;
    width: 100%;
}

.cyp-price-field {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 0;
    border: 1px solid #d4d4d4;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 400;
    box-sizing: border-box;
    height: auto;
    line-height: 1.5;
    transition: all 0.2s ease;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.cyp-price-field:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

.cyp-price-field.has-error {
    border-color: #cc1818;
    background-color: #fff;
}

.cyp-price-field.has-error:focus {
    box-shadow: 0 0 0 1px #cc1818;
}

.cyp-error-container {
    width: 100%;
    margin-top: 8px;
    display: none;
}

.cyp-error {
    display: block;
    color: #dc3232;
    background-color: #fef1f1;
    border-left: 4px solid #dc3232;
    padding: 8px 12px;
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.4;
    border-radius: 2px;
    width: 100%;
}

.cyp-display-price {
    display: block;
    margin-top: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.cyp-verify-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}

.cyp-verify-modal-content {
    background: white;
    padding: 20px;
    border-radius: 5px;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.cyp-verify-modal-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.cyp-verify-modal button {
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.cyp-verify-confirm {
    background: #2271b1;
    color: white;
}

.cyp-verify-cancel {
    background: #f0f0f1;
    color: #2c3338;
}

.cyp-verify-modal button:hover {
    opacity: 0.9;
}

.cyp-error-message {
    display: none;
    margin-top: 10px;
    padding: 12px 15px;
    background-color: #fef2f2;
    border-left: 4px solid #cc1818;
    color: #4a4a4a;
    font-size: 14px;
    line-height: 1.6;
    width: 100%;
    box-sizing: border-box;
    border-radius: 0 4px 4px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.cyp-error-message .cyp-error {
    display: block;
    font-weight: 500;
    color: #842029;
}

/* Improve number input appearance */
.cyp-price-field::-webkit-outer-spin-button,
.cyp-price-field::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cyp-price-field[type=number] {
    -moz-appearance: textfield;
}

/* Add subtle animation */
.cyp-error-message {
    animation: cyp-fade-in 0.2s ease-in-out;
}

@keyframes cyp-fade-in {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cyp-error-message.show {
    display: block;
} 