/* WooCommerce Sipariş Takip - CSS */

.wst-container {
    max-width: 600px;
    margin: 30px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.wst-form-wrapper {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.wst-title {
    text-align: center;
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.wst-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wst-form-group {
    display: flex;
    flex-direction: column;
}

.wst-label {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
    font-size: 14px;
}

.wst-required {
    color: #e74c3c;
    font-weight: bold;
}

.wst-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.wst-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.wst-input::placeholder {
    color: #999;
}

.wst-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

.wst-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.wst-button:active {
    transform: translateY(0);
}

.wst-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.wst-result {
    margin-top: 25px;
}

.wst-loading {
    text-align: center;
    padding: 30px;
    color: #666;
    font-size: 16px;
}

.wst-loading:before {
    content: "⏳";
    margin-right: 10px;
    font-size: 20px;
}

.wst-error {
    background: #fee;
    border-left: 4px solid #e74c3c;
    color: #c0392b;
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: 500;
}

.wst-error:before {
    content: "⚠️";
    margin-right: 10px;
}

.wst-success {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
}

.wst-order-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.wst-order-header h4 {
    margin: 0 0 10px 0;
    font-size: 20px;
}

.wst-order-number {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
}

.wst-order-info {
    padding: 20px;
}

.wst-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.wst-info-row:last-child {
    border-bottom: none;
}

.wst-info-label {
    font-weight: 600;
    color: #555;
}

.wst-info-value {
    color: #333;
    text-align: right;
}

.wst-status {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wst-status-pending {
    background: #fff3cd;
    color: #856404;
}

.wst-status-processing {
    background: #d1ecf1;
    color: #0c5460;
}

.wst-status-on-hold {
    background: #fff3cd;
    color: #856404;
}

.wst-status-completed {
    background: #d4edda;
    color: #155724;
}

.wst-status-cancelled,
.wst-status-refunded,
.wst-status-failed {
    background: #f8d7da;
    color: #721c24;
}

.wst-total-amount {
    font-size: 24px;
    font-weight: bold;
    color: #667eea;
}

.wst-products {
    margin-top: 20px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.wst-products h5 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wst-product-item {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.wst-product-item:last-child {
    border-bottom: none;
}

.wst-product-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.wst-product-meta {
    color: #666;
    font-size: 14px;
}

.wst-note {
    margin-top: 20px;
    padding: 15px 20px;
    background: #fff8e1;
    border-left: 4px solid #ffc107;
    border-radius: 8px;
}

.wst-note strong {
    display: block;
    margin-bottom: 8px;
    color: #333;
}

.wst-address {
    margin-top: 20px;
    padding: 15px 20px;
    background: #f5f5f5;
    border-radius: 8px;
}

.wst-address strong {
    display: block;
    margin-bottom: 8px;
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .wst-container {
        margin: 15px;
    }
    
    .wst-form-wrapper {
        padding: 20px;
    }
    
    .wst-title {
        font-size: 20px;
    }
    
    .wst-order-number {
        font-size: 24px;
    }
    
    .wst-total-amount {
        font-size: 20px;
    }
}

/* Animasyon */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wst-success {
    animation: fadeIn 0.4s ease;
}