// Custom styles to maintain consistency across the project

// Maintain existing Kurigo styles
body {
    font-family: 'Inter', sans-serif;
}

// Custom color variables
$kurigo-primary: #C8102E;
$kurigo-secondary: #2b6cb0;
$kurigo-dark: #1a365d;

// Ensure Bootstrap components match existing design
.btn-primary {
    background-color: $kurigo-secondary;
    border-color: $kurigo-secondary;
    
    &:hover {
        background-color: darken($kurigo-secondary, 10%);
        border-color: darken($kurigo-secondary, 10%);
    }
}

.text-primary {
    color: $kurigo-secondary !important;
}

// DataTable customization to match design
.dataTables_wrapper {
    .dataTables_length,
    .dataTables_filter {
        margin-bottom: 1rem;
    }
    
    .dataTables_info,
    .dataTables_paginate {
        margin-top: 1rem;
    }
}

table.dataTable {
    border-collapse: collapse !important;
    
    thead {
        th {
            background-color: $kurigo-secondary;
            color: white;
            font-weight: 600;
            border: none;
        }
    }
    
    tbody {
        tr {
            &:hover {
                background-color: #f8f9fa;
            }
        }
    }
}

// Select2 customization
.select2-container--bootstrap-5 {
    .select2-selection {
        border: 2px solid #e0e6ed;
        
        &:focus {
            border-color: $kurigo-secondary;
        }
    }
}

// Flatpickr customization
.flatpickr-calendar {
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

// SweetAlert2 customization
.swal2-popup {
    border-radius: 1rem;
    
    .swal2-confirm {
        background-color: $kurigo-secondary !important;
    }
}

