/* Modern Refund Widget Styling */
.wcf-refund-widget-container {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    max-width: 750px;
    margin: 40px auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
	@media (max-width:767px){
		padding: 30px 15px;
	}
}

.wcf-refund-widget-container h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.wcf-refund-step.wcf-step-3 p {
    color: green;
}
.wcf-refund-widget-container p {
    color: #1e1e1e;
    line-height: 1.5;
	margin-bottom: 20px;
}

/* Form Groups */
.wcf-form-group {
    margin-bottom: 20px;
}
.wcf-refund-step.wcf-step-3 .wcf-form-group{
	@media (max-width:767px){
		margin-bottom:0;
	}
}

.wcf-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #374151;
}

.wcf-form-group input,
.wcf-form-group select,
.wcf-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    color: #1f2937;
    background-color: #f9fafb;
    transition: all 0.2s ease;
    box-sizing: border-box;
    font-family: inherit;
    padding: 12px 16px;
}

.wcf-form-group input:focus,
.wcf-form-group select:focus,
.wcf-form-group textarea:focus {
    outline: none;
    border-color: #f6502c;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.wcf-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Buttons */
.wcf-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: #f6502c;
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.1);
}

.wcf-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

.wcf-btn:active {
    transform: translateY(0);
}

.wcf-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #9ca3af;
    transform: none;
    box-shadow: none;
}

.wcf-btn-back:hover {
    color: #1e1e1e;
	background: transparent;
	border: 1px solid #f6502c
}

/* Messages */
.wcf-message {
    margin-top: 20px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
    animation: fadeIn 0.3s ease;
}

.wcf-message.error {
    background: #fef2f2;
	color: #1e1e1e;
    border: 1px solid #fecaca;
    border-left: 4px solid #ef4444;
}

.wcf-message.loading {
    background: #f6502c;
    color: #fff;
    border: 1px solid #f6502c;
    border-left: 4px solid #f6502c;
    display: flex;
    align-items: center;
}

.wcf-message.loading::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 8px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

.wcf-success-message {
    text-align: center;
    padding: 40px 20px;
}

.wcf-success-message h3 {
    color: #059669;
}

.wcf-success-message p {
    font-size: 16px;
    color: #374151;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



// step 3 styling
.wcf-step-3-input-wrapper {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 15px;
}
/* Minimal custom arrow for <select> */
#wcf-order-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  padding-right: 2.25rem;         
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: .9rem;

  /* simple down chevron (SVG) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

/* Hide the old arrow in IE/old Edge (safe to keep) */
#wcf-order-select::-ms-expand {
  display: none;
}

