/* =============================================
   help-styles.css - סגנונות לדף העזרה
   ============================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    direction: rtl;
}

.help-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* כותרת ראשית */
.help-header {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 40px;
    text-align: center;
}

.help-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.help-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ניווט טאבים */
.help-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 3px solid #e9ecef;
    flex-wrap: wrap;
}

.help-tab {
    flex: 1;
    min-width: 150px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    font-size: 1rem;
    font-weight: 600;
    color: #6c757d;
}

.help-tab:hover {
    background: #e9ecef;
    color: #495057;
}

.help-tab.active {
    background: white;
    color: #2c3e50;
    border-bottom: 3px solid #3498db;
    margin-bottom: -3px;
}

.help-tab .tab-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 5px;
}

/* תוכן */
.help-content {
    display: none;
    padding: 40px;
    animation: fadeIn 0.3s ease;
}

.help-content.active {
    display: block;
}

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

/* סקשנים */
.section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title .icon {
    font-size: 1.8rem;
}

/* שלבים */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step {
    display: flex;
    gap: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    border-right: 5px solid #3498db;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step:hover {
    transform: translateX(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.step-content p {
    color: #6c757d;
    line-height: 1.6;
}

/* טיפים */
.tip-box {
    background: linear-gradient(135deg, #fff3cd, #ffeeba);
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    border-right: 4px solid #ffc107;
}

.tip-box .tip-title {
    font-weight: bold;
    color: #856404;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tip-box p {
    color: #856404;
    font-size: 0.95rem;
}

/* אזהרות */
.warning-box {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    border-right: 4px solid #dc3545;
}

.warning-box .warning-title {
    font-weight: bold;
    color: #721c24;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.warning-box p, .warning-box ul {
    color: #721c24;
    font-size: 0.95rem;
}

/* מידע */
.info-box {
    background: linear-gradient(135deg, #cce5ff, #b8daff);
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    border-right: 4px solid #007bff;
}

.info-box .info-title {
    font-weight: bold;
    color: #004085;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-box p, .info-box ul {
    color: #004085;
    font-size: 0.95rem;
}

/* הצלחה */
.success-box {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    border-right: 4px solid #28a745;
}

.success-box .success-title {
    font-weight: bold;
    color: #155724;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.success-box p, .success-box ul {
    color: #155724;
    font-size: 0.95rem;
}

/* רשימות */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li .feature-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.feature-list li .feature-text {
    flex: 1;
}

.feature-list li .feature-text strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 4px;
}

.feature-list li .feature-text span {
    color: #6c757d;
    font-size: 0.9rem;
}

/* טבלאות */
.help-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.help-table th {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 15px;
    text-align: right;
    font-weight: 600;
}

.help-table td {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
}

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

.help-table tr:hover {
    background: #f8f9fa;
}

/* כרטיסי תבניות */
.template-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.template-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.template-card:hover {
    border-color: #3498db;
    transform: translateY(-5px);
}

.template-card .card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.template-card h4 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.template-card p {
    color: #6c757d;
    font-size: 0.9rem;
}

/* כפתור חזרה */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 30px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.4);
}

/* תת-סקשנים */
.subsection {
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.subsection h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* אקורדיון הסבר */
.accordion-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.accordion-header {
    padding: 18px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: background 0.2s ease;
}

.accordion-header:hover {
    background: #f8f9fa;
}

.accordion-header h5 {
    color: #2c3e50;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.accordion-arrow {
    color: #6c757d;
    transition: transform 0.3s ease;
}

.accordion-item.open .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-body {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item.open .accordion-body {
    padding: 20px;
    max-height: 2000px;
}

/* יתרונות Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.benefit-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: transform 0.2s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card .benefit-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.benefit-card h4 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.benefit-card p {
    color: #6c757d;
    font-size: 0.9rem;
}

/* כרטיס יתרון מודגש */
.benefit-card.highlight-card {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    grid-column: span 2;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.benefit-card.highlight-card h4 {
    color: white;
    font-size: 1.3rem;
}

.benefit-card.highlight-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.benefit-card.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}
