﻿
.case-header {
    background-color: white;
    padding: 0px 36px;
    /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); */
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 1rem auto;
    display: flow;
    margin-top: 4rem;
}

.case-info {
    display: flex;
    justify-content: space-between;
    gap: 4px;
}

.case-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.case-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.case-count {
    background-color: #e3f2fd;
    color: #1976d2;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-left: 8px;
}

.create-case-btn {
    background-color: #0288d1;
    color: white;
    border: none;
    padding-bottom: 2px;
    margin: 4px 0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s ease;
}

    .create-case-btn:hover {
        background-color: #0277bd;
    }

    .create-case-btn:active {
        background-color: #01579b;
    }

.plus-icon {
    font-size: 16px;
    font-weight: bold;
}




.btn-grad {
    background-image: linear-gradient(to right, #000046 0%, #1CB5E0 51%, #000046 100%);
    margin: 10px;
    padding: 15px 45px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
}

    .btn-grad:hover {
        background-position: right center; 
        color: #fff;
        text-decoration: none;
    }

#btnsearch {
    padding: 7px 30px;
}

.card-content h5 {
    font-size: 12px !important;
}

.dbtn-primary {
    padding: 5px 10px !important;
}

.card-header {
    padding: 0.1rem 1rem !important;
}

.card-title {
    display: flex;
    justify-content: flex-start;
}

a {
    text-decoration: none;
}

.search-section {
    display: flex;
    justify-content: flex-start;
    padding: 0 34px;
}

.search-btn {
    background-color: #010532;
    color: white;
    border: none;
    margin: 4px 0;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s ease;
}

    .search-btn:hover {
        background-color: #0277bd;
    }

    .search-btn:active {
        background-color: #01579b;
    }

.form-control {
    height: 32px !important;
}

select {
    word-wrap: normal;
    border-radius: 5px !important;
    background: #f5f5f5 !important;
    font-size: 11px !important;
    color: #344767 !important;
    padding: 2px;
    font-weight: 700;
}

/* Table CSS */

.table thead th {
    padding: 8px 1rem;
    font-size: 12px;
    text-transform: capitalize;
    letter-spacing: 0;
    border-bottom: 1px solid #d9e0ec;
    background-color: #f4f4f4;
}

.table td, .table th {
    white-space: nowrap;
    font-size: 12px;
    padding: 6px 16px !important;
    color: #333333;
    align-content: center;
    border-top-color: transparent;
    border-bottom-color: transparent;
}

.table tr:nth-child(even) {
    background-color: #f5fbff;
}

.table tbody tr:hover {
    background-color: #e3f2fd;
    color: #333;
}

.dataTables_wrapper .dataTables_length select {
    margin: 0 4px;
    padding: 4px 0px !important;
}

div.dataTables_wrapper div.dataTables_info {
    font-size: 14px;
}

div.dataTables_wrapper div.dataTables_paginate {
    font-size: 14px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: .1em 1em;
}


.card-header {
    border-radius: 8px !important;
}

.tile-1 {
    background: linear-gradient(91deg, #E91E63, #d72766) !important;
    color: #fff;
}

.tile-2 {
    background: linear-gradient(45deg, #FE6646, #d12d0a);
    color: #fff;
}

.tile-3 {
    background: linear-gradient(45deg, #38bcf7, #1172a0);
    color: #fff;
}

.tile-4 {
    background: linear-gradient(45deg, #424ecf, #10197d);
    color: #fff;
}

.icon-md i {
    top: 27%;
    font-size: 1.4rem;
}

.btn-action {
    color: #fff;
    background: #333;
    font-weight: 400;
    padding: 4px 16px;
    margin: 4px 0;
}

.btn-action:hover {
    background: #000;
    color: #fff;
}