/* ===================================================
   PAYMENT METHODS & FORMS STYLES
   =================================================== */

/* Points Section */
.points-section {
    background: var(--bggradient);
    color: #fff;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.points-section h3 {
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.points-input {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.points-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Clean Payment Methods */
.payment-methods {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8ecef;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.payment-methods h3 {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    color: #2d3748;
    padding: 1rem 2rem;
    margin: 0;
    font-weight: 500;
    font-size: 1rem;
    font-family: var(--font-hel, sans-serif);
    border-bottom: 2px solid #e8ecef;
    display: flex;
    align-items: center;
}

#payging_btn {
    margin: 0px !important;
    width: 100% !important;
}

.payment-methods h3 i {
    color: var(--background);
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.payment-method {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #e8ecef;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    position: relative;
    border-left: 4px solid transparent;
}

.payment-method::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.payment-method:last-child {
    border-bottom: none;
}

.payment-method:hover {
    background: #f8f9fa;
    transform: translateX(2px);
}

.payment-method:hover::before {
    transform: scaleY(0.3);
}

.payment-method.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-left-color: transparent;
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.1);
}

.payment-method.active::before {
    transform: scaleY(1);
    background: linear-gradient(180deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    animation: borderGlow 2s ease-in-out infinite alternate;
}

@keyframes borderGlow {
    0% {
        box-shadow: 0 0 5px rgba(102, 126, 234, 0.3);
        filter: brightness(1);
    }
    100% {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.6);
        filter: brightness(1.2);
    }
}

.payment-method input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 40px;
    height: 40px;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    margin-right: 1rem;
    margin-top: 0;
    position: relative;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    flex-shrink: 0;
}

.payment-method input[type="radio"]:hover {
    border-color: #667eea;
    transform: scale(1.1);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.payment-method input[type="radio"]:checked {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.payment-method input[type="radio"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    animation: checkPop 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes checkPop {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.payment-method-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.payment-method strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #2c3e50;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-hel, sans-serif);
    line-height: 1.3;
}

.payment-method p {
    color: #6c757d;
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.4;
    font-family: var(--font-hel, sans-serif);
}

/* Shipping Methods - Different styling */
.shipping-method {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #e8ecef;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    position: relative;
    border-left: 4px solid transparent;
}

.shipping-method::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(45deg, #6c757d, #495057, #343a40);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.shipping-method:last-child {
    border-bottom: none;
}

.shipping-method:hover {
    background: #f8f9fa;
    transform: translateX(2px);
}

.shipping-method:hover::before {
    transform: scaleY(0.3);
}

.shipping-method.active {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.08) 0%, rgba(73, 80, 87, 0.05) 100%);
    border-left-color: transparent;
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(108, 117, 125, 0.1);
}

.shipping-method.active::before {
    transform: scaleY(1);
    background: linear-gradient(180deg, #6c757d 0%, #495057 50%, #343a40 100%);
    animation: shippingBorderGlow 2s ease-in-out infinite alternate;
}

@keyframes shippingBorderGlow {
    0% {
        box-shadow: 0 0 5px rgba(108, 117, 125, 0.3);
        filter: brightness(1);
    }
    100% {
        box-shadow: 0 0 20px rgba(108, 117, 125, 0.6);
        filter: brightness(1.2);
    }
}

.shipping-method input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 40px;
    height: 40px;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    margin-right: 1rem;
    margin-top: 0;
    position: relative;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    flex-shrink: 0;
}

.shipping-method input[type="radio"]:hover {
    border-color: #6c757d;
    transform: scale(1.1);
    box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.1);
}

.shipping-method input[type="radio"]:checked {
    border-color: #6c757d;
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.2);
}

.shipping-method input[type="radio"]:checked::after {
    content: '🚚';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    animation: checkPop 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.payment-method-hidden {
    display: none;
}
.payment-method-hidden.show {
    display: flex;
}
#viewAllPaymentBtn i::before {
    content: "\f06e";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}
#viewAllPaymentBtn.active i::before {
    content: "\f070";
}
.shipping-method-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.shipping-method-content strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #2c3e50;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-hel, sans-serif);
    line-height: 1.3;
}

.shipping-method-content p {
    color: #6c757d;
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.4;
    font-family: var(--font-hel, sans-serif);
}

/* Form Elements */
.form-group {
    margin-bottom: 0.75rem;
}

.form-label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
    color: #2c3e50;
    font-size: 0.85rem;
}

.form-input {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    font-size: 0.85rem;
    background: #fff;
    box-sizing: border-box;
}

.form-input:focus {
    border-color: var(--background);
    outline: none;
    box-shadow: 0 0 0 0.1rem rgba(0, 150, 136, 0.15);
}

.form-select {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    font-size: 0.85rem;
    background: #fff;
    cursor: pointer;
    box-sizing: border-box;
}

.checkout-btn {
    width: calc(100% - 4rem);
    background: linear-gradient(135deg, var(--background) 0%, #f39c12 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 2rem;
    font-family: var(--font-hel, sans-serif);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #f39c12 0%, var(--background) 100%);
}

.checkout-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-group.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

/* Disabled state for buttons */
.disableevent {
    pointer-events: none !important;
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

.checkout-btn.disableevent {
    background: #6c757d !important;
    transform: none !important;
    box-shadow: none !important;
}

.coupon-btn.disableevent {
    background: #6c757d !important;
    transform: none !important;
    box-shadow: none !important;
}

#payging_btn span, #payging_btn i {
    font-size: 1rem !important;
    color: #fff !important;
} 