
/* İade Progress Bar Stilleri */
.wtcpro-refund-progress-wrapper {
    margin: 30px 0 40px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e3e8ef;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    clear: both;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.wtcpro-refund-progress-title {
    margin: 0 0 25px;
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    border-bottom: 2px solid #e3e8ef;
    padding-bottom: 15px;
}

.wtcpro-refund-progress-container {
    margin-bottom: 30px;
    max-width: 100%;
    overflow: hidden;
}

.wtcpro-refund-progress-bar {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px 0 20px;
    max-width: 100%;
    overflow: visible;
}

.wtcpro-refund-progress-line {
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 4px;
    background-color: #e3e8ef;
    z-index: 1;
}

.wtcpro-refund-progress-line-completed {
    position: absolute;
    top: 30px;
    left: 10%;
    height: 4px;
    background: linear-gradient(90deg, #5cb85c 0%, #4cae4c 100%);
    z-index: 2;
    transition: width 0.6s ease-in-out;
    box-shadow: 0 2px 8px rgba(92, 184, 92, 0.3);
}

.wtcpro-refund-progress-step {
    position: relative;
    flex: 1;
    text-align: center;
    z-index: 3;
}

.wtcpro-step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
    background-color: #e3e8ef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wtcpro-step-icon .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
    color: #95a5a6;
}

.wtcpro-step-completed .wtcpro-step-icon {
    background: linear-gradient(135deg, #5cb85c 0%, #4cae4c 100%);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(92, 184, 92, 0.4);
}

.wtcpro-step-completed .wtcpro-step-icon .dashicons {
    color: #ffffff;
}

.wtcpro-step-current .wtcpro-step-icon {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(92, 184, 92, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 6px 16px rgba(92, 184, 92, 0.6);
    }
}

.wtcpro-step-approved .wtcpro-step-icon {
    background: linear-gradient(135deg, #5cb85c 0%, #4cae4c 100%);
}

.wtcpro-step-rejected .wtcpro-step-icon {
    background: linear-gradient(135deg, #d9534f 0%, #c9302c 100%);
}

.wtcpro-step-cancelled .wtcpro-step-icon {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
}

.wtcpro-step-label {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 6px;
}

.wtcpro-step-date {
    font-size: 13px;
    color: #7f8c8d;
    font-weight: 500;
}

.wtcpro-step-completed .wtcpro-step-label {
    color: #27ae60;
}

.wtcpro-step-rejected .wtcpro-step-label {
    color: #d9534f;
}

.wtcpro-step-cancelled .wtcpro-step-label {
    color: #6c757d;
}

/* Detaylı Bilgiler */
.wtcpro-refund-details {
    margin-top: 25px;
}

.wtcpro-refund-cargo-info {
    background: #ffffff;
    border: 2px solid #5cb85c;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.wtcpro-refund-cargo-info h4 {
    margin: 0 0 15px;
    font-size: 18px;
    font-weight: 600;
    color: #27ae60;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wtcpro-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.wtcpro-info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.wtcpro-info-label {
    font-size: 13px;
    color: #7f8c8d;
    font-weight: 500;
}

.wtcpro-info-value {
    font-size: 16px;
    color: #2c3e50;
    font-weight: 600;
}

.wtcpro-refund-code {
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 6px;
    border: 2px dashed #5cb85c;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.wtcpro-refund-note {
    background: #e8f5e9;
    border-left: 4px solid #5cb85c;
    padding: 12px 15px;
    margin: 15px 0 0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #2c3e50;
}

.wtcpro-refund-note .dashicons {
    color: #5cb85c;
    flex-shrink: 0;
}

.wtcpro-return-address {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e3e8ef;
}

.wtcpro-return-address h5 {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
}

.wtcpro-return-address p {
    margin: 0;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* Red/İptal Nedeni Kutuları */
.wtcpro-refund-reason-box {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.wtcpro-rejection-box {
    border: 2px solid #d9534f;
}

.wtcpro-cancellation-box {
    border: 2px solid #6c757d;
}

.wtcpro-refund-reason-box h4 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wtcpro-rejection-box h4 {
    color: #d9534f;
}

.wtcpro-cancellation-box h4 {
    color: #6c757d;
}

.wtcpro-refund-reason-box p {
    margin: 0;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
}

.wtcpro-refund-reason-box .wtcpro-contact-note {
    margin-top: 15px;
    padding: 12px;
    background-color: #f0f0f1;
    border-left: 3px solid #2271b1;
    font-size: 0.95em;
    color: #50575e;
}

.wtcpro-refund-reason-box .wtcpro-contact-note .dashicons {
    vertical-align: middle;
    margin-right: 5px;
    color: #2271b1;
}

/* İptal Butonu */
.wtcpro-refund-actions {
    margin-top: 20px;
    text-align: center;
}

.wtcpro-refund-actions .button {
    background: #d9534f;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.wtcpro-refund-actions .button:hover {
    background: #c9302c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 83, 79, 0.3);
}

.wtcpro-refund-actions .button .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Responsive Tasarım */
@media screen and (max-width: 768px) {
    .wtcpro-refund-progress-wrapper {
        padding: 20px 15px;
    }
    
    .wtcpro-refund-progress-title {
        font-size: 18px;
    }
    
    .wtcpro-refund-progress-bar {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 20px 0;
    }
    
    .wtcpro-refund-progress-line,
    .wtcpro-refund-progress-line-completed {
        display: none;
    }
    
    .wtcpro-step-icon {
        width: 50px;
        height: 50px;
    }
    
    .wtcpro-step-icon .dashicons {
        font-size: 24px;
        width: 24px;
        height: 24px;
    }
    
    .wtcpro-info-grid {
        grid-template-columns: 1fr;
    }
    
    .wtcpro-refund-actions .button {
        width: 100%;
        justify-content: center;
    }
}

.wtcpro-refund-form-container {
    margin: 20px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    clear: both;
}

.wtcpro-refund-button-wrapper {
    margin: 30px 0;
    display: block;
    clear: both;
}

.wtcpro-refund-cancel-wrapper {
    margin: 30px 0;
    display: block;
    clear: both;
}

.wtcpro-loading {
    text-align: center;
    padding: 20px;
    font-style: italic;
    color: #666;
}

.wtcpro-refund-form-wrapper h3 {
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #333;
}

.wtcpro-refund-terms span {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.wtcpro-refund-form-row {
    margin-bottom: 20px;
}

.wtcpro-refund-form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.wtcpro-refund-form-row select,
.wtcpro-refund-form-row textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.wtcpro-refund-products-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.wtcpro-refund-products-table th,
.wtcpro-refund-products-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.wtcpro-refund-products-table th {
    background-color: #f2f2f2;
}

.wtcpro-refund-products-table .product-thumbnail {
    width: 50px;
    float: left;
    margin-right: 10px;
}

.wtcpro-refund-products-table .product-info {
    margin-left: 60px;
}

.wtcpro-refund-upload-wrapper {
    margin-top: 8px;
}

.wtcpro-refund-upload-wrapper .description {
    margin-top: 5px;
    font-size: 0.9em;
    color: #666;
}

.wtcpro-refund-upload-wrapper input[type="file"] {
    display: none;
}

.wtcpro-file-info {
    display: inline-block;
    margin-left: 10px;
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.wtcpro-refund-form-actions {
    margin-top: 20px;
    text-align: right;
}

.wtcpro-refund-form-actions button {
    margin-left: 10px;
}

.wtcpro-refund-message {
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.wtcpro-refund-message.success {
    background-color: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}

.wtcpro-refund-message.error {
    background-color: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
}

.wtcpro-upload-progress {
    display: none;
    margin: 15px 0;
    padding: 15px;
    background: #f0f0f0;
    border-radius: 5px;
}

.wtcpro-upload-progress.active {
    display: block;
}

.wtcpro-upload-progress p {
    margin: 0 0 10px 0;
    font-weight: 600;
    color: #333;
}

.wtcpro-progress-bar-wrapper {
    background: #ddd;
    border-radius: 3px;
    height: 25px;
    overflow: hidden;
}

.wtcpro-progress-bar {
    background: #2271b1;
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

@media screen and (max-width: 768px) {
    .wtcpro-refund-products-table .product-thumbnail {
        display: none;
    }
    
    .wtcpro-refund-products-table .product-info {
        margin-left: 0;
    }
    
    .wtcpro-refund-form-actions {
        text-align: center;
    }
    
    .wtcpro-refund-form-actions button {
        width: 100%;
        margin: 5px 0;
    }
} 