/* BA17/wwwroot/css/modern-theme.css - עיצוב מודרני לרכיבים נוספים */

/* כרטיסי תוכן מעוצבים */
.content-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px var(--shadow-color);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: var(--gradient-gold);
    border-radius: 0 0 0 100%;
    opacity: 0.1;
}

.content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow-color);
}

/* כותרות מעוצבות */
.section-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-warm);
    border-radius: 2px;
}

/* טפסים מעוצבים */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    pointer-events: none;
}

.input-with-icon .form-control {
    padding-right: 3rem;
}

/* טבלאות מעוצבות */
.modern-table {
    width: 100%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px var(--shadow-color);
}

.modern-table thead {
    background: var(--gradient-warm);
}

.modern-table th {
    color: white;
    font-weight: 600;
    padding: 1.25rem 1rem;
    text-align: right;
    border: none;
}

.modern-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
}

.modern-table tbody tr:hover td {
    background-color: var(--hover-color);
}

.modern-table tbody tr:last-child td {
    border-bottom: none;
}

/* תגיות סטטוס */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-badge.active {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
}

.status-badge.pending {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
}

.status-badge.inactive {
    background: linear-gradient(135deg, #9e9e9e 0%, #757575 100%);
    color: white;
}

/* דיאלוגים ומודאלים */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.modal-header {
    background: var(--gradient-warm);
    color: white;
    border-bottom: none;
    padding: 1.5rem 2rem;
}

.modal-title {
    font-weight: 600;
    font-size: 1.25rem;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    border-top: 1px solid var(--border-color);
    padding: 1rem 2rem;
    background: var(--bg-secondary);
}

/* Tooltips */
.tooltip-custom {
    position: relative;
    cursor: help;
}

.tooltip-custom::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    right: 50%;
    transform: translateX(50%);
    background: var(--text-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.tooltip-custom:hover::after {
    opacity: 1;
}

/* Loading spinner */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* תיבות הודעה */
.alert-custom {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    position: relative;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.alert-custom.success {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-color: #4caf50;
    color: #2e7d32;
}

.alert-custom.warning {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-color: #ff9800;
    color: #e65100;
}

.alert-custom.error {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border-color: #f44336;
    color: #c62828;
}

.alert-custom.info {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-color: #2196f3;
    color: #1565c0;
}

/* תפריט נפתח מותאם אישית */
.dropdown-custom {
    position: relative;
    display: inline-block;
}

.dropdown-custom .dropdown-menu {
    background: white;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow-color);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-custom .dropdown-item {
    padding: 0.75rem 1.5rem;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.dropdown-custom .dropdown-item:hover {
    background: var(--hover-color);
    color: var(--primary-color);
    transform: translateX(-4px);
}

/* Progress bar */
.progress-custom {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-bar-custom {
    height: 100%;
    background: var(--gradient-warm);
    border-radius: 4px;
    transition: width 0.5s ease;
    position: relative;
    overflow: hidden;
}

.progress-bar-custom::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
} 