/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand, .nav-link {
    transition: color 0.2s;
}

.nav-link:hover {
    color: #0d6efd !important;
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #ced4da;
    transition: border-color 0.2s;
}

.form-control:focus, .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 5px rgba(13, 110, 253, 0.3);
}

.btn-custom {
    background-color: #0d6efd;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    transition: background-color 0.2s;
}

.btn-custom:hover {
    background-color: #0a58ca;
}

.table {
    border-radius: 10px;
    overflow: hidden;
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.table td {
    vertical-align: middle;
}

.action {
    margin-right: 10px;
    color: #0d6efd;
    transition: color 0.2s;
}

.action:hover {
    color: #0a58ca;
    text-decoration: none;
}

.select2-container--default .select2-selection--multiple {
    border-radius: 8px;
    border: 1px solid #ced4da;
}

.modal-content {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-footer .btn {
    border-radius: 8px;
}

@media (max-width: 768px) {
    .task-form .row {
        flex-direction: column;
    }

    .table-responsive {
        border: none;
    }

    .table th {
        display: none;
    }

    .table td {
        display: flex;
        justify-content: space-between;
        padding: 10px;
        border-bottom: 1px solid #eee;
    }

    .table td::before {
        content: attr(data-label);
        font-weight: 600;
        width: 40%;
    }

    .table td:last-child {
        justify-content: flex-start;
    }
}