/* BA17/wwwroot/css/bootstrap-overrides.css - התאמות Bootstrap לעיצוב החדש */

/* שינוי צבעי Bootstrap */
:root {
    --bs-primary: #8B4513;
    --bs-secondary: #CD853F;
    --bs-success: #4caf50;
    --bs-info: #2196f3;
    --bs-warning: #ff9800;
    --bs-danger: #f44336;
    --bs-light: #FAF0E6;
    --bs-dark: #3E2723;
    
    --bs-primary-rgb: 139, 69, 19;
    --bs-secondary-rgb: 205, 133, 63;
    --bs-success-rgb: 76, 175, 80;
    --bs-info-rgb: 33, 150, 243;
    --bs-warning-rgb: 255, 152, 0;
    --bs-danger-rgb: 244, 67, 54;
    --bs-light-rgb: 250, 240, 230;
    --bs-dark-rgb: 62, 39, 35;
}

/* כפתורי Bootstrap מעוצבים */
.btn-primary {
    background: var(--gradient-warm);
    border: none;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px var(--shadow-color);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #A0522D 0%, #D2691E 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-color);
}

.btn-secondary {
    background: var(--light-accent);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.btn-success {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    border: none;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-danger {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    border: none;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

/* Forms */
.form-control, .form-select {
    background-color: white;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(218, 165, 32, 0.1);
}

/* Cards */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 2px 10px var(--shadow-color);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px var(--shadow-color);
}

.card-header {
    background: var(--gradient-warm);
    color: white;
    border-bottom: none;
    font-weight: 600;
    padding: 1rem 1.5rem;
}

/* Tables */
.table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.table thead th {
    background: var(--primary-color);
    color: white;
    border: none;
    font-weight: 600;
    padding: 1rem;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: var(--bg-secondary);
}

.table-hover > tbody > tr:hover > * {
    background-color: var(--hover-color);
}

/* Alerts */
.alert {
    border: none;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: 0 2px 8px var(--shadow-color);
}

.alert-primary {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.1) 0%, rgba(139, 69, 19, 0.05) 100%);
    color: var(--primary-color);
    border-right: 4px solid var(--primary-color);
}

.alert-success {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(76, 175, 80, 0.05) 100%);
    color: #2e7d32;
    border-right: 4px solid #4caf50;
}

.alert-warning {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.1) 0%, rgba(255, 152, 0, 0.05) 100%);
    color: #e65100;
    border-right: 4px solid #ff9800;
}

.alert-danger {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.1) 0%, rgba(244, 67, 54, 0.05) 100%);
    color: #c62828;
    border-right: 4px solid #f44336;
}

/* Modals */
.modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background: var(--gradient-warm);
    color: white;
    border-bottom: none;
    border-radius: 20px 20px 0 0;
}

.modal-footer {
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
    border-radius: 0 0 20px 20px;
}

/* Badges */
.badge {
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
}

.bg-primary {
    background: var(--gradient-warm) !important;
}

.bg-secondary {
    background: var(--secondary-color) !important;
}

/* Progress bars */
.progress {
    height: 10px;
    border-radius: 5px;
    background-color: var(--border-color);
    overflow: hidden;
}

.progress-bar {
    background: var(--gradient-warm);
}

/* Pagination */
.pagination {
    gap: 0.25rem;
}

.page-link {
    border: none;
    border-radius: 8px;
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: var(--hover-color);
    color: var(--primary-color);
}

.page-item.active .page-link {
    background: var(--gradient-warm);
    color: white;
    box-shadow: 0 2px 8px var(--shadow-color);
}

/* Dropdowns */
.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow-color);
    padding: 0.5rem 0;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: var(--hover-color);
    color: var(--primary-color);
} 