/* Main container with gradient background */
.custom-order-form-wrapper {
    display: block;
    padding: 0px;
    background: #1dc734;
    border-radius:0 0 0 0; 
    box-shadow: 0px 4px 16px rgba(240, 220, 220, 0.2);
    max-width: 600px;
    margin: 0 auto;
}

/* Main form styling */
.custom-order-form {
    max-width: 600px;
    margin: 0px auto 0;
    background: #ffffff;
    padding: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Header section */
.custom-order-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0px;
    text-align: center;
    padding-bottom: 0px;

}

.custom-order-form-heading {
    margin: 0;
    flex: 1;
    color: #ffffff;
}

/* Price styling */
.custom-order-form-price {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: none;
    border-radius: 4px;
    font-size: 1.2em;
}

.custom-order-form-price .price-label {
    display: none !important;
    font-weight: 500;
    color: #ffffff;
}

.custom-order-form-price del {
    color: rgb(255, 255, 255);
    font-size: 0.85em;
    text-decoration: line-through;
    margin-right: 5px;
}

.custom-order-form-price ins {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-weight: bold;
}
/* Price mark styles */
.custom-order-form-price .price-mark {
    position: relative;
    display: inline-block;
}

/* Highlight mark */
.custom-order-form-price .mark-highlight {
    position: relative;
    z-index: 1;
}
.custom-order-form-price .mark-highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background-color: var(--mark-color);
    z-index: -1;
}

/* Circle mark */
.custom-order-form-price .mark-circle {
    position: relative;
    z-index: 1;
}
.custom-order-form-price .mark-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    background-color: var(--mark-color);
    border-radius: 50%;
    z-index: -1;
}

/* Checkmark */
.custom-order-form-price .mark-checkmark {
    position: relative;
    padding-right: 20px;
}
.custom-order-form-price .mark-checkmark::after {
    content: '✓';
    position: absolute;
    right: 0;
    top: 0;
    color: var(--mark-color);
}

/* Underline mark */
.custom-order-form-price .mark-underline {
    position: relative;
}
.custom-order-form-price .mark-underline::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--mark-color);
}

/* Animation styles */
.custom-order-form-price .mark-animated {
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.custom-order-form-price .animation-pulse {
    animation-name: pricePulse;
}
@keyframes pricePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.custom-order-form-price .animation-bounce {
    animation-name: priceBounce;
}
@keyframes priceBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.custom-order-form-price .animation-shake {
    animation-name: priceShake;
}
@keyframes priceShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}
/* Timer section */
.custom-order-form-timer {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 0px 0;

}

.timer-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px;
    border-radius: 4px;
    min-width: 0px;
}

.timer-number {
    font-size: 1.5em;
    font-weight: bold;
    color: #ffffff;
}

.timer-label {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4px;
}
.custom-order-form-timer-compact .timer-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 500px;
    margin: 0 auto;
}

.custom-order-form-timer-compact .timer-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #f5f5f5;
    border-radius: 4px;
    padding: 5px 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    min-width: 100px;
    height: 40px;
    justify-content: center;
}

.custom-order-form-timer-compact .timer-number {
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 5px;
}

.custom-order-form-timer-compact .timer-label {
    font-size: 0.85rem;
}

@media (max-width: 500px) {
    .custom-order-form-timer-compact .timer-row {
        gap: 5px;
    }
    
    .custom-order-form-timer-compact .timer-group {
        min-width: 90px;
        padding: 4px 8px;
    }
    
    .custom-order-form-timer-compact .timer-number {
        font-size: 1.1rem;
    }
    
    .custom-order-form-timer-compact .timer-label {
        font-size: 0.8rem;
    }
}

/* Description */
.custom-order-form-description {
    margin: 0 0 0px 0;
    line-height: 1.5;
    color: #ffffff;
    text-align: center;
    font-weight: 500;
}

/* Form field styling */
.custom-order-form .form-field {
    margin-bottom: 20px;
}

.custom-order-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3338;
    font-size: 0.95em;
}

.custom-order-form label .required {
    color: #e3342f;
    margin-left: 4px;
}

.custom-order-form input[type="text"],
.custom-order-form input[type="email"],
.custom-order-form input[type="tel"],
.custom-order-form input[type="number"],
.custom-order-form input[type="date"],
.custom-order-form textarea,
.custom-order-form select.variation-select,
.custom-order-form select.shipping-select,
.custom-order-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #dcdfe6;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.5;
    transition: all 0.2s ease-in-out;
    background-color: #f8fafc;
    color: #1f2937;
    box-sizing: border-box;
}

.custom-order-form input:focus,
.custom-order-form textarea:focus,
.custom-order-form select.variation-select:focus,
.custom-order-form select.shipping-select:focus,
.custom-order-form select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background-color: #ffffff;
}

.custom-order-form input::placeholder,
.custom-order-form textarea::placeholder {
    color: #9ca3af;
}

.custom-order-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Submit button */
.custom-order-form .submit-btn {
    width: 100%;
    padding: 14px 24px;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.custom-order-form .submit-btn:hover {
    background-color: #1d4ed8;
}

.custom-order-form .submit-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.5);
}

.custom-order-form .submit-btn.loading {
    opacity: 0.7;
    cursor: wait;
}

/* Form messages */
.custom-order-form .form-message {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
}

.custom-order-form .success-message {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.custom-order-form .error-message {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Animation Keyframes */
@keyframes moveX {
    0% { transform: translateX(0); }
    50% { transform: translateX(10px); }
    100% { transform: translateX(0); }
}

@keyframes moveY {
    0% { transform: translateY(0); }
    50% { transform: translateY(10px); }
    100% { transform: translateY(0); }
}

@keyframes scale {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

@keyframes sink {
    0% { transform: translateY(0); }
    50% { transform: translateY(6px); }
    100% { transform: translateY(0); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Base animation properties */
.custom-order-form .submit-btn {
    transition: all 0.3s ease-in-out;
}

/* Animation classes using Elementor's prefix */
.elementor-animation-moveX .custom-order-form .submit-btn {
    animation: moveX var(--animation-duration, 0.5s) ease-in-out infinite;
}

.elementor-animation-moveY .custom-order-form .submit-btn {
    animation: moveY var(--animation-duration, 0.5s) ease-in-out infinite;
}

.elementor-animation-scale .custom-order-form .submit-btn {
    animation: scale var(--animation-duration, 0.5s) ease-in-out infinite;
}

.elementor-animation-pulse .custom-order-form .submit-btn {
    animation: pulse var(--animation-duration, 0.5s) ease-in-out infinite;
}

.elementor-animation-float .custom-order-form .submit-btn {
    animation: float var(--animation-duration, 0.5s) ease-in-out infinite;
}

.elementor-animation-sink .custom-order-form .submit-btn {
    animation: sink var(--animation-duration, 0.5s) ease-in-out infinite;
}

.elementor-animation-rotate .custom-order-form .submit-btn {
    animation: rotate var(--animation-duration, 0.5s) linear infinite;
}

/* Hover-only animations */
.elementor-animation-grow .custom-order-form .submit-btn:hover {
    transform: scale(1.1);
    transition-duration: var(--animation-duration, 0.5s);
}

.elementor-animation-shrink .custom-order-form .submit-btn:hover {
    transform: scale(0.9);
    transition-duration: var(--animation-duration, 0.5s);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .custom-order-form-header {
        flex-direction: column;
        text-align: center;
    }
    
    .custom-order-form-timer {
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .custom-order-form-container {
        padding: 15px;
    }
    
    .custom-order-form {
        padding: 20px;
    }

    .custom-order-form input,
    .custom-order-form textarea,
    .custom-order-form select {
        padding: 10px 14px;
        font-size: 15px;
    }

    .custom-order-form .submit-btn {
        padding: 12px 20px;
        font-size: 15px;
    }
}