.elementor-6148 .elementor-element.elementor-element-eefcdd9{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-6148 .elementor-element.elementor-element-0a81a6c > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}/* Start custom CSS for html, class: .elementor-element-0a81a6c */.size-guide-container {
    max-width: 1200px;
    margin: 20px auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    font-family: inherit;
}

.size-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    padding: 30px;
}

@media (max-width: 768px) {
    .size-content {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}

.column {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.calculator-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.calculator-card h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.3em;
}

.input-group {
    margin-bottom: 18px;
}

.input-group label {
    display: block;
    margin-bottom: 6px;
    color: #495057;
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
}

.input-group input:focus {
    outline: none;
    border-color: #667eea;
}

.calculate-btn {
    width: 100%;
    background: #667eea;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-bottom: 10px;
}

.calculate-btn:hover {
    background: #5a6fd8;
    color: white;
}

.show-table-btn {
    width: 100%;
    background: #28a745;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
    margin-bottom: 20px;
}

.show-table-btn:hover {
    background: #218838;
    color: white;
}

.result-box {
    margin-top: 20px;
    padding: 18px;
    background: white;
    border-radius: 8px;
    border: 1px dashed #dee2e6;
    text-align: center;
}

.result-box.highlight {
    border-color: #28a745;
    background: #f8fff9;
}

.result-box.warning {
    border-color: #ffc107;
    background: #fffbf0;
}

.result-box.error {
    border-color: #dc3545;
    background: #fdf2f2;
}

.support-contact {
    margin-top: 15px;
    padding: 12px;
    background: #e7f3ff;
    border-radius: 6px;
    border: 1px solid #b3d9ff;
}

.support-contact a {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
}

.support-contact a:hover {
    text-decoration: underline;
}

/* استایل پاپ‌آپ */
.table-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.table-popup.active {
    display: flex;
}

.popup-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: popupShow 0.3s ease;
}

@keyframes popupShow {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #667eea;
    color: white;
}

.popup-header h3 {
    margin: 0;
    font-size: 1.4em;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.table-container {
    overflow: auto;
    max-height: calc(90vh - 80px);
    padding: 20px;
}

.size-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    min-width: 400px;
}

.size-table th {
    background: #2c3e50;
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 600;
    position: sticky;
    top: 0;
}

.size-table td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
}

.size-table tr:hover {
    background: #f8f9fa;
}

.size-table tr.highlight {
    background: #fff3cd;
    font-weight: bold;
}

/* رسپانسیو برای موبایل */
@media (max-width: 768px) {
    .popup-content {
        width: 95%;
        margin: 10px;
    }
    
    .popup-header {
        padding: 15px;
    }
    
    .popup-header h3 {
        font-size: 1.2em;
    }
    
    .table-container {
        padding: 10px;
        max-height: calc(100vh - 100px);
    }
    
    .size-table {
        min-width: 350px;
    }
    
    .size-table th,
    .size-table td {
        padding: 10px 8px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .size-table {
        min-width: 300px;
    }
    
    .size-table th,
    .size-table td {
        padding: 8px 6px;
        font-size: 13px;
    }
    
    .popup-header h3 {
        font-size: 1.1em;
    }
}/* End custom CSS */