@import url('https://v1.fontapi.ir/css/Vazirmatn');

.wl-lookup-container {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
    direction: rtl;
    text-align: right;
    padding: 20px 0;
}

.wl-lookup-box {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.wl-lookup-title {
    text-align: center;
    color: #333;
    margin: 0 0 25px 0;
    font-size: 24px;
    font-weight: bold;
    border-bottom: 3px solid #0073aa;
    padding-bottom: 15px;
}

.wl-search-form {
    margin-bottom: 20px;
}

.wl-form-group {
    margin-bottom: 20px;
}

.wl-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
    font-size: 15px;
}

.wl-input {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
    border: 2px solid #ddd;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.wl-input:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.wl-submit-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #0073aa 0%, #005a87 100%);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.wl-submit-btn:hover {
    background: linear-gradient(135deg, #005a87 0%, #004666 100%);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

.wl-submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.wl-submit-btn.loading {
    background: #999;
    cursor: not-allowed;
}

.wl-submit-btn.loading:hover {
    background: #999;
    transform: none;
}

.wl-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.wl-spinner-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: wl-spin 0.8s linear infinite;
}

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

.wl-result-container {
    margin-top: 25px;
    padding: 20px;
    border-radius: 8px;
    animation: wl-fadeIn 0.4s ease;
}

@keyframes wl-fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wl-result-success {
    background: #e7f7ed;
    border: 2px solid #46b450;
    border-right: 5px solid #46b450;
}

.wl-result-error {
    background: #fef7f1;
    border: 2px solid #dc3232;
    border-right: 5px solid #dc3232;
}

.wl-result-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.wl-result-success .wl-result-title {
    color: #2d7a3e;
}

.wl-result-error .wl-result-title {
    color: #dc3232;
}

.wl-result-info {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wl-result-info li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 15px;
}

.wl-result-info li:last-child {
    border-bottom: none;
}

.wl-result-info strong {
    display: inline-block;
    min-width: 140px;
    color: #333;
    font-weight: bold;
}

.wl-result-info span {
    color: #555;
}

.wl-error-message {
    color: #dc3232;
    font-size: 15px;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .wl-lookup-box {
        padding: 20px 15px;
    }
    
    .wl-lookup-title {
        font-size: 20px;
    }
    
    .wl-result-info strong {
        display: block;
        margin-bottom: 5px;
    }
}
