/* WP Quote Manager - Frontend Styles */

.wqm-frontend-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.wqm-quote-form {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.wqm-form-title {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: bold;
}

.wqm-form-section {
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #3498db;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.wqm-form-section h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 20px;
}

/* עיצובים חדשים */
.wqm-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    color: #2c3e50;
    font-size: 22px;
    font-weight: 600;
}

.wqm-icon {
    font-size: 24px;
    opacity: 0.8;
}

.wqm-section-description {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.wqm-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.wqm-form-group-full {
    grid-column: 1 / -1;
}

.wqm-label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
    display: block;
}

.wqm-input,
.wqm-select,
.wqm-textarea {
    padding: 12px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
}

.wqm-input:focus,
.wqm-select:focus,
.wqm-textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    transform: translateY(-1px);
}

.wqm-textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.wqm-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
    color: #333;
}

.wqm-checkbox {
    width: 18px;
    height: 18px;
    accent-color: #3498db;
}

.wqm-checkbox-text {
    font-size: 14px;
}

.wqm-form-submit {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e1e8ed;
}

.wqm-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.wqm-btn-icon {
    font-size: 18px;
}

.wqm-client-details {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
    border-left: 4px solid #2196f3;
}

.wqm-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

/* עיצובים חדשים */
.wqm-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    color: #2c3e50;
    font-size: 22px;
    font-weight: 600;
}

.wqm-icon {
    font-size: 24px;
    opacity: 0.8;
}

.wqm-section-description {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.wqm-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.wqm-form-group-full {
    grid-column: 1 / -1;
}

.wqm-label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
    display: block;
}

.wqm-input,
.wqm-select,
.wqm-textarea {
    padding: 12px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
}

.wqm-input:focus,
.wqm-select:focus,
.wqm-textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    transform: translateY(-1px);
}

.wqm-textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.wqm-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
    color: #333;
}

.wqm-checkbox {
    width: 18px;
    height: 18px;
    accent-color: #3498db;
}

.wqm-checkbox-text {
    font-size: 14px;
}

.wqm-form-submit {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e1e8ed;
}

.wqm-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.wqm-btn-icon {
    font-size: 18px;
}

.wqm-client-details {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
    border-left: 4px solid #2196f3;
}

.wqm-form-group {
    display: flex;
    flex-direction: column;
}

.wqm-form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.wqm-form-group input,
.wqm-form-group select,
.wqm-form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
}

.wqm-form-group input:focus,
.wqm-form-group select:focus,
.wqm-form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.wqm-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Tools Grid */
.wqm-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.wqm-tool-card {
    background: #fff;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.wqm-tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #3498db;
}

.wqm-tool-card.selected {
    border-color: #27ae60;
    background: #f8fff9;
}

.wqm-tool-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.wqm-tool-name {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
}

.wqm-tool-type {
    background: #3498db;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.wqm-tool-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.wqm-tool-price {
    font-size: 20px;
    font-weight: bold;
    color: #27ae60;
    margin-bottom: 15px;
}

.wqm-tool-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wqm-tool-features li {
    padding: 5px 0;
    color: #555;
    font-size: 14px;
}

.wqm-tool-features li:before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    margin-right: 8px;
}

/* Quote Summary */
.wqm-quote-summary {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 30px;
    margin-top: 30px;
}

.wqm-quote-summary h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
    font-size: 24px;
}

.wqm-quote-items {
    margin-bottom: 30px;
}

.wqm-quote-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #e1e8ed;
    background: #f8f9fa;
    margin-bottom: 10px;
    border-radius: 6px;
}

.wqm-quote-item:last-child {
    border-bottom: none;
}

.wqm-item-details {
    flex: 1;
}

.wqm-item-name {
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 5px;
}

.wqm-item-quantity {
    color: #666;
    font-size: 14px;
}

.wqm-item-price {
    font-weight: bold;
    color: #27ae60;
    font-size: 18px;
}

.wqm-quote-total {
    text-align: center;
    padding: 20px;
    background: #2c3e50;
    color: white;
    border-radius: 8px;
    font-size: 24px;
    font-weight: bold;
}

/* Buttons */
.wqm-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 120px;
}

.wqm-btn-primary {
    background: #3498db;
    color: white;
}

.wqm-btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.wqm-btn-success {
    background: #27ae60;
    color: white;
}

.wqm-btn-success:hover {
    background: #229954;
    transform: translateY(-2px);
}

.wqm-btn-danger {
    background: #e74c3c;
    color: white;
}

.wqm-btn-danger:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.wqm-btn-secondary {
    background: #95a5a6;
    color: white;
}

.wqm-btn-secondary:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
}

/* Quote Display */
.wqm-quote-display {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 40px;
    margin: 20px 0;
}

.wqm-quote-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e1e8ed;
}

.wqm-quote-title {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.wqm-quote-number {
    color: #7f8c8d;
    font-size: 16px;
}

.wqm-quote-client-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.wqm-client-detail {
    text-align: center;
}

.wqm-client-detail strong {
    display: block;
    color: #2c3e50;
    margin-bottom: 5px;
}

.wqm-client-detail span {
    color: #666;
}

/* Loading States */
.wqm-loading {
    opacity: 0.6;
    pointer-events: none;
}

.wqm-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Notifications */
.wqm-notification {
    padding: 15px;
    margin: 10px 0;
    border-radius: 6px;
    border-left: 4px solid;
}

.wqm-notification-success {
    background: #d4edda;
    border-color: #27ae60;
    color: #155724;
}

.wqm-notification-error {
    background: #f8d7da;
    border-color: #e74c3c;
    color: #721c24;
}

.wqm-notification-warning {
    background: #fff3cd;
    border-color: #f39c12;
    color: #856404;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wqm-frontend-container {
        padding: 10px;
    }
    
    .wqm-quote-form,
    .wqm-quote-display {
        padding: 20px;
    }
    
    .wqm-form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .wqm-tools-grid {
        grid-template-columns: 1fr;
    }
    
    .wqm-quote-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .wqm-quote-client-info {
        grid-template-columns: 1fr;
    }
    .wqm-quote-title { font-size: 24px; }
    .wqm-form-title { font-size: 22px; }
    .wqm-quote-display { padding: 20px; }
    .wqm-quote-items-table th, .wqm-quote-items-table td { padding: 10px; }
}

@media (max-width: 480px) {
    .wqm-form-title {
        font-size: 24px;
    }
    
    .wqm-quote-title {
        font-size: 24px;
    }
    
    .wqm-btn {
        width: 100%;
        margin-bottom: 10px;
    }
    .wqm-quote-items-table th, .wqm-quote-items-table td { padding: 8px; }
}

/* עיצוב כלי פרסום */
.wqm-tool-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.wqm-tool-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.wqm-tool-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.wqm-tool-name {
    font-weight: bold;
    font-size: 16px;
    color: #333;
}

.wqm-tool-type {
    background: #007cba;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.wqm-tool-description {
    color: #666;
    margin-bottom: 10px;
    line-height: 1.4;
}

.wqm-tool-price {
    font-weight: bold;
    color: #007cba;
    font-size: 18px;
    margin-bottom: 10px;
}

.wqm-tool-features {
    margin-top: 10px;
}

.wqm-tool-features strong {
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.wqm-tool-features ul {
    margin: 0;
    padding-left: 20px;
    color: #666;
}

.wqm-add-tool-btn {
    background: #007cba;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.wqm-add-tool-btn:hover {
    background: #005a87;
}

.wqm-add-tool-btn:disabled {
    background: #28a745;
    cursor: not-allowed;
} 

/* עיצוב טבלת פריטי הצעה */
.wqm-quote-items-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* עטיפה רספונסיבית לטבלאות במובייל */
.wqm-table-responsive { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.wqm-table-responsive table { min-width: 520px; }

.wqm-quote-items-table th {
    background: #f8f9fa;
    padding: 15px;
    text-align: right;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #e9ecef;
}

.wqm-quote-items-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
    text-align: right;
}

.wqm-quote-items-table tr:hover {
    background: #f8f9fa;
}

.wqm-quote-items-table tbody tr:last-child td {
    border-bottom: none;
}

/* עיצוב כפתורי פעולה */
.wqm-quote-actions {
    display: flex;
    gap: 15px;
    margin: 30px 0;
    justify-content: center;
    flex-wrap: wrap;
}

.wqm-quote-actions .wqm-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 120px;
    text-align: center;
}

.wqm-quote-actions .wqm-btn-success {
    background: #28a745;
    color: white;
}

.wqm-quote-actions .wqm-btn-success:hover {
    background: #218838;
    transform: translateY(-2px);
}

.wqm-quote-actions .wqm-btn-warning {
    background: #ffc107;
    color: #212529;
}

.wqm-quote-actions .wqm-btn-warning:hover {
    background: #e0a800;
    transform: translateY(-2px);
}

.wqm-quote-actions .wqm-btn-danger {
    background: #dc3545;
    color: white;
}

.wqm-quote-actions .wqm-btn-danger:hover {
    background: #c82333;
    transform: translateY(-2px);
}

/* עיצוב רספונסיבי לכפתורים */
@media (max-width: 768px) {
    .wqm-quote-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .wqm-quote-actions .wqm-btn {
        width: 100%;
        max-width: 200px;
    }
}

/* עיצוב שורטקודים מורכבים */

/* סקשן פרטי לקוח */
.wqm-client-info-section {
    margin: 20px 0;
}

.wqm-client-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.wqm-info-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-right: 4px solid #3498db;
}

.wqm-info-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 14px;
}

.wqm-info-value {
    color: #34495e;
    font-size: 16px;
}

/* טבלת פריטי הצעה */
.wqm-quote-items-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.wqm-items-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.wqm-items-table th {
    background: #f8f9fa;
    padding: 15px;
    text-align: right;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #e9ecef;
}

.wqm-items-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
    text-align: right;
}

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

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

.wqm-price {
    font-weight: 600;
    color: #27ae60;
}

.wqm-total-row {
    background: #f8f9fa !important;
    font-weight: 600;
}

.wqm-total-price {
    color: #27ae60;
    font-size: 18px;
}

/* סקשן חתימה */
.wqm-signature-section {
    margin: 20px 0;
}

.wqm-signature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.wqm-signature-item {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    border-right: 3px solid #3498db;
}

.wqm-signature-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 13px;
}

.wqm-signature-value {
    color: #34495e;
    font-size: 15px;
}

.wqm-status-pending {
    color: #f39c12;
}

.wqm-status-accepted {
    color: #27ae60;
}

.wqm-status-rejected {
    color: #e74c3c;
}

.wqm-status-cancelled {
    color: #95a5a6;
}

/* כפתורי פעולה */
.wqm-action-buttons {
    margin: 30px 0;
}

.wqm-buttons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.wqm-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 140px;
    justify-content: center;
}

.wqm-btn-accept {
    background: #27ae60;
    color: white;
}

.wqm-btn-accept:hover {
    background: #229954;
    transform: translateY(-2px);
}

.wqm-btn-reject {
    background: #e74c3c;
    color: white;
}

.wqm-btn-reject:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.wqm-btn-request-changes {
    background: #f39c12;
    color: white;
}

.wqm-btn-request-changes:hover {
    background: #d68910;
    transform: translateY(-2px);
}

.wqm-btn-cancel {
    background: #95a5a6;
    color: white;
}

    .wqm-btn-cancel:hover {
        background: #7f8c8d;
        transform: translateY(-2px);
    }

    .wqm-btn-download-pdf {
        background: #9b59b6;
        color: white;
    }

    .wqm-btn-download-pdf:hover {
        background: #8e44ad;
        transform: translateY(-2px);
    }

/* תוכן משפטי */
.wqm-legal-content {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #95a5a6;
}

.wqm-legal-text {
    margin: 0;
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.5;
}

/* הודעות שגיאה */
.wqm-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #f5c6cb;
    margin: 15px 0;
}

.wqm-no-items {
    background: #d1ecf1;
    color: #0c5460;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #bee5eb;
    margin: 15px 0;
    text-align: center;
}

/* רספונסיביות לשורטקודים */
@media (max-width: 768px) {
    .wqm-client-info-grid,
    .wqm-signature-grid {
        grid-template-columns: 1fr;
    }
    
    .wqm-buttons-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .wqm-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .wqm-items-table {
        font-size: 14px;
    }
    
    .wqm-items-table th,
    .wqm-items-table td {
        padding: 8px 10px;
    }
}

/* עיצוב מעקב סטטוס */
.wqm-status-timeline {
    margin: 30px 0;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.wqm-timeline-title {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 20px;
    font-weight: 600;
}

.wqm-timeline-container {
    position: relative;
    padding-right: 30px;
}

.wqm-timeline-container::before {
    content: '';
    position: absolute;
    right: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e9ecef;
    z-index: 1;
}

.wqm-timeline-item {
    position: relative;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
}

.wqm-timeline-item:last-child {
    margin-bottom: 0;
}

.wqm-timeline-icon {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.wqm-timeline-item.wqm-completed .wqm-timeline-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.wqm-timeline-item.wqm-active .wqm-timeline-icon {
    transform: scale(1.2);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1.2); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1.2); }
}

.wqm-icon-text {
    font-size: 18px;
    color: white;
}

.wqm-timeline-content {
    flex: 1;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-right: 4px solid #3498db;
    transition: all 0.3s ease;
}

.wqm-timeline-item.wqm-completed .wqm-timeline-content {
    background: #e8f5e8;
    border-right-color: #27ae60;
}

.wqm-timeline-item.wqm-active .wqm-timeline-content {
    background: #fff3cd;
    border-right-color: #f39c12;
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.2);
}

.wqm-timeline-label {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}

.wqm-timeline-description {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.4;
}

.wqm-timeline-date {
    font-size: 12px;
    color: #95a5a6;
    font-style: italic;
}

/* רספונסיביות למעקב סטטוס */
@media (max-width: 768px) {
    .wqm-status-timeline {
        padding: 15px;
        margin: 20px 0;
    }
    
    .wqm-timeline-container {
        padding-right: 20px;
    }
    
    .wqm-timeline-container::before {
        right: 10px;
    }
    
    .wqm-timeline-icon {
        width: 35px;
        height: 35px;
        margin-left: 15px;
    }
    
    .wqm-icon-text {
        font-size: 16px;
    }
    
    .wqm-timeline-content {
        padding: 12px;
    }
    
    .wqm-timeline-label {
        font-size: 15px;
    }
    
    .wqm-timeline-description {
        font-size: 13px;
    }

    /* למנוע חפיפה של תגיות סטטוס/באדג'ים במובייל */
    .wqm-status,
    .wqm-status-badge,
    .status,
    .badge {
        position: static !important;
        display: inline-block;
        margin-top: 6px;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .wqm-timeline-container {
        padding-right: 15px;
    }
    
    .wqm-timeline-container::before {
        right: 7px;
    }
    
    .wqm-timeline-icon {
        width: 30px;
        height: 30px;
        margin-left: 10px;
    }
    
    .wqm-icon-text {
        font-size: 14px;
    }
    
    .wqm-timeline-content {
        padding: 10px;
    }
}

/* התאמות נוספות למובייל */
@media (max-width: 768px) {
    /* התאמת טבלאות למובייל */
    .wqm-items-table {
        font-size: 12px;
    }
    
    .wqm-items-table th,
    .wqm-items-table td {
        padding: 6px 8px;
    }
    
    /* התאמת כפתורים למובייל */
    .wqm-btn {
        padding: 10px 16px;
        font-size: 14px;
        min-width: 120px;
    }
    
    /* התאמת גריד למובייל */
    .wqm-client-info-grid,
    .wqm-signature-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    /* התאמת כותרות למובייל */
    .wqm-timeline-title,
    .wqm-section-title {
        font-size: 18px;
    }
    
    /* התאמת טקסט למובייל */
    .wqm-timeline-label {
        font-size: 14px;
    }
    
    .wqm-timeline-description {
        font-size: 12px;
    }
    
    /* התאמת מרווחים למובייל */
    .wqm-status-timeline,
    .wqm-client-info-section,
    .wqm-signature-section {
        margin: 15px 0;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    /* התאמות נוספות למסכים קטנים */
    .wqm-items-table {
        font-size: 11px;
    }
    
    .wqm-items-table th,
    .wqm-items-table td {
        padding: 4px 6px;
    }
    
    .wqm-btn {
        padding: 8px 12px;
        font-size: 13px;
        min-width: 100px;
    }
    
    .wqm-timeline-title,
    .wqm-section-title {
        font-size: 16px;
    }
    
    .wqm-timeline-label {
        font-size: 13px;
    }
    
    .wqm-timeline-description {
        font-size: 11px;
    }
    
    /* התאמת מרווחים למסכים קטנים */
    .wqm-status-timeline,
    .wqm-client-info-section,
    .wqm-signature-section {
        margin: 10px 0;
        padding: 10px;
    }
    
    /* התאמת גריד למסכים קטנים */
    .wqm-client-info-grid,
    .wqm-signature-grid {
        gap: 8px;
    }
    
    .wqm-info-item,
    .wqm-signature-item {
        padding: 8px;
    }
}

/* התאמות לטאבלט */
@media (min-width: 769px) and (max-width: 1024px) {
    .wqm-client-info-grid,
    .wqm-signature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .wqm-items-table {
        font-size: 13px;
    }
    
    .wqm-items-table th,
    .wqm-items-table td {
        padding: 8px 10px;
    }
}

/* התאמות למובייל - אוריינטציה אופקית */
@media (max-width: 768px) and (orientation: landscape) {
    .wqm-timeline-container {
        padding-right: 25px;
    }
    
    .wqm-timeline-icon {
        width: 35px;
        height: 35px;
        margin-left: 15px;
    }
    
    .wqm-icon-text {
        font-size: 16px;
    }
    
    .wqm-timeline-content {
        padding: 12px;
    }
} 

/* עיצוב אייקון העין וטולטיפ */
.wqm-eye-icon {
    cursor: pointer;
    font-size: 16px;
    margin-right: 5px;
    display: inline-block;
}

.wqm-tooltip {
    position: absolute !important;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 10px;
    z-index: 99999 !important;
    display: block !important;
    max-width: 320px;
    pointer-events: none;
}

.wqm-tooltip img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}