
.lsc-wrapper,
.lsc-btn,
.lsc-product-btn,
.lsc-input,
.lsc-table {
    font-family: 'YekanBakhFaNum', sans-serif !important;
}
.lsc-btn-wrapper {
    width: 100%;
    margin-top: 15px;
    margin-bottom: 15px;
    display: block;
}
.lsc-product-btn {
    display: block !important;
    width: 100%;
    background-color: #ffbe1c !important; 
    color: #ffffff !important; 
    text-align: center;
    font-weight: 500;
    padding: 13px !important;
    border-radius: 9px !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: none !important;
    line-height: normal !important;
    box-sizing: border-box;
    cursor: pointer;
    margin-top: 5px;
}

.lsc-product-btn:hover {
    background-color: #e5a800 !important; 
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px -1px rgba(0, 0, 0, 0.2);
}

.lsc-product-btn:active, 
.lsc-product-btn:focus {
    color: #ffffff !important;
    background-color: #ffbe1c !important;
}

@media (max-width: 640px) {
    .lsc-product-btn {
        padding: 12px !important;
        font-size: 1rem;
    }
}
.lsc-wrapper {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    max-width: 600px;
    margin: 2rem auto;
    border: 1px solid #f3f4f6;
    box-sizing: border-box;
}

@media (max-width: 640px) {
    .lsc-wrapper { padding: 1.5rem; }
}

.lsc-title {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    color: #1f2937;
    margin-bottom: 2rem;
    line-height: 1.4;
}

@media (max-width: 640px) {
    .lsc-title { font-size: 1.1rem; line-height: 1.5; }
}

.lsc-input-group { margin-bottom: 1.5rem; position: relative; }

.lsc-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 0.5rem;
}
.lsc-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    outline: none;
    color: #111827;
    background-color: #fff;
    direction: ltr;
    text-align: left;
    height: 50px;
}

.lsc-input:focus {
    border-color: #ffbe1c;
    box-shadow: 0 0 0 3px rgba(255, 190, 28, 0.2);
}

.lsc-input.error { border-color: #dc2626; }
.lsc-btn {
    width: 100%;
    background-color: #fb8500;
    color: white;
    font-weight: 700;
    padding: 0.875rem;
    border-radius: 9px;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.lsc-btn:hover {
    background-color: #ff9321;
    transform: translateY(-2px);
}

.lsc-result-box {
    margin-top: 2rem;
    display: none;
    overflow-x: auto;
}

.lsc-result-box.is-visible { display: block; animation: fadeIn 0.5s ease; }

.lsc-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    direction: rtl;
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.lsc-table thead th {
    background-color: #fb8500;
    color: #FFFFFF;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 2px solid #000;
}

.lsc-table tbody td {
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.2s;
}

.lsc-table tbody td:first-child {
    background-color: #8ecae6;
    color: #023047;
    width: 35%;
    border-right: 1px solid #374151;
}

.lsc-table tbody td:last-child {
    background-color: #ffffff;
    color: #000000;
    font-size: 1rem;
}

.lsc-table tbody tr:hover td:first-child {
    background-color: #219ebc;
    color: #f95b00;
}

.lsc-table tbody tr:hover td:last-child {
    background-color: #ffbe1c;
}

.lsc-table tbody tr:last-child td {
    border-bottom: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* --- استایل دکمه کوچک (مخصوص لیست‌ها) --- */
.lsc-btn-wrapper-small {
    width: 100%;
    margin-top: 5px; 
    margin-bottom: 5px;
    display: block;
}

.lsc-small-btn {
    font-size: 13px !important;   
    padding: 6px !important;       
    border-radius: 4px !important; 
    font-weight: 500 !important;  
    width: auto !important;       
    display: inline-block !important; 
    min-width: 100px;              
    line-height: 1.5 !important;
}
