/* Custom CSS for Sales Ops Portal - Ixana Branding */

/* Ixana Color Scheme */
:root {
    --ixana-primary: #ff6321;
    --ixana-hover: #e55a1e;
    --ixana-bg: #F1F0FB;
    --ixana-text: #1A1F2C;
}

/* Additional custom styles */
/* Base template already includes comprehensive Bootstrap styling */

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

.fade-in {
    animation: fadeIn 0.3s ease-in;
}

/* Custom utility classes */
.cursor-pointer {
    cursor: pointer;
}

/* Enhanced button styles with Ixana colors */
.btn-outline-primary {
    color: var(--ixana-primary);
    border-color: var(--ixana-primary);
}

.btn-outline-primary:hover {
    background-color: var(--ixana-primary);
    border-color: var(--ixana-primary);
    color: #fff;
}

.btn-outline-primary:hover {
    background-color: var(--ixana-hover);
    border-color: var(--ixana-hover);
}

/* Form focus states */
.form-control:focus,
.form-select:focus {
    border-color: var(--ixana-primary);
    box-shadow: 0 0 0 0.2rem rgba(255, 99, 33, 0.25);
}

/* Link styles */
.page-header a {
    color: var(--ixana-primary);
}

.page-header a:hover {
    color: var(--ixana-hover);
}

/* Responsive table improvements */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.85rem;
    }
    
    .btn-icon {
        padding: 0.25rem 0.5rem;
    }
    
    .navbar-brand img {
        height: 28px !important;
    }
}

/* Print styles */
@media print {
    .sidebar,
    .navbar,
    .table-actions,
    .btn {
        display: none !important;
    }
    
    .main-content {
        padding: 0;
    }
}

/* Card hover effects */
.card {
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(255, 99, 33, 0.1);
}

/* Table row hover */
.table-hover tbody tr:hover {
    background-color: rgba(241, 240, 251, 0.5);
}

/* Fix button text visibility and interactions */
.btn {
    font-weight: 500;
    transition: all 0.2s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

.btn i {
    margin-right: 0.5rem;
}

/* Ensure button text is always visible with proper contrast */
.btn-primary,
.btn-success,
.btn-info,
.btn-secondary,
.btn-warning,
.btn-danger {
    color: #fff !important;
}

/* Fix active/focus/hover states */
.btn:active,
.btn:focus {
    opacity: 0.95;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(255, 99, 33, 0.25);
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.stat-card {
    background-color: gray !important;
    color: white !important;
}