body {
    background-color: #f4f4f4;
    font-family: 'Segoe UI', sans-serif;
}

/* Navbar */
.navbar {
    background: #ffffff;
    border-bottom: 1px solid #dddddd;
}

.navbar .btn-danger {
    background-color: #d71920;
    border: none;
}

.navbar .btn-outline-danger {
    border-color: #d71920;
  
}

.navbar .btn-outline-danger:hover {
    background-color: #d71920;
    color: #fff;
}

/* Welcome Box */
.alert-custom {
    background-color: #f8cfcf;
    border-radius: 10px;
    color: #000;
    border: none;
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
}

.card-header {
    background-color: #d71920 !important;
    color: #fff;
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
}

/* Tables */
.table {
    margin: 0;
}

.table th {
    font-size: 12px;
    background: #f9f9f9;
}

.table td {
    font-size: 13px;
}

/* Footer */
footer {
    background-color: #1c1c1c;
}

footer a{
    color: white;
}

footer h4 span:nth-child(2) {
    color: #d71920;
}

/* Links */
a {
    color: #d71920;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.nav-item.active{
    color: white;
    background:#d71920;
}

/* Mobile tweaks */
@media (max-width: 768px) {

    .card-header {
        font-size: 14px;
        padding: 10px;
    }

    .card-body {
        font-size: 13px;
        padding: 10px;
    }

    .table th, .table td {
        font-size: 11px;
        padding: 6px;
    }

    .navbar-brand {
        font-size: 16px;
    }

    .alert-custom {
        font-size: 14px;
        padding: 10px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {

    .card {
        border-radius: 10px;
    }

    .btn {
        font-size: 13px;
        padding: 8px;
    }
}


/* header css  */

/* Active menu */
.active-menu {
    background: #d71920;
    color: #fff;
    border-radius: 8px;
}

/* Outline buttons */
.btn-outline-danger {
    border-color: #d71920;
    color: #d71920;
}

.btn-outline-danger:hover {
    background: #d71920;
    color: #fff;
}

/* Profile dropdown */
.profile-dropdown {
    width: 200px;
    border-radius: 10px;
    padding: 8px 0;
}

/* Hover effect (desktop only) */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 10px;
    }
}

/* Mobile fixes */
@media (max-width: 768px) {

    .navbar-nav .btn {
        width: 100%;
    }

    .profile-dropdown {
        width: 100%;
    }
}


/* Wrapper */
.profile-wrapper {
    position: relative;
}

/* Profile image */
.profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    object-fit: contain;
    background: #f2f0f0;
}


/* Dropdown */
.profile-menu {
    position: absolute;
    top: 55px;
    right: 0;
    width: 220px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: none;
    z-index: 999;
    overflow: hidden;
}

/* Header */
.profile-header {
    padding: 10px;
    font-size: 12px;
    color: #666;
    background: #f8f8f8;
}

/* Links */
.profile-menu a {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
}

.profile-menu a:hover {
    background: #f5f5f5;
}
.profile-menu > form button:hover {
    background: #f5f5f5;
}

/* Logout */
.profile-menu .logout {
    color: #d71920;
}

/* Show dropdown */
.profile-menu.active {
    display: block;
}

/* Mobile Fix */
@media (max-width: 768px) {
    .profile-menu {
        right: 10px;
        width: 90vw;
        max-width: 300px;
    }
}


/* claims css  */
/* Header */
.top-header {
    background: #e7bcbc;
    border-radius: 10px;
}

/* Sidebar */
.sidebar-box {
    background: #e6d2cf;
    border-radius: 10px;
}

/* Table */
.table th {
    font-size: 12px;
    white-space: nowrap;
}

.table td {
    font-size: 13px;
}

/* Status Badge */
.status-badge {
    background: #555;
    color: #fff;
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 20px;
}

/* Mobile */
@media (max-width: 768px) {

    .table th, .table td {
        font-size: 11px;
        padding: 6px;
    }

    .top-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .top-header input {
        width: 100%;
    }
}


/* login css  */
/* Wrapper */
.login-wrapper {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* Background image */
.login-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1521790797524-b2497295b8a0') center/cover no-repeat;
    filter: blur(6px);
    transform: scale(1.1);
}

/* Card */
.login-card {
    position: relative;
    z-index: 2;
    width: 400px;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);

    /* Center */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Inputs */
.login-card input {
    font-size: 14px;
}

/* Social buttons */
.social-login {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-login button {
    border: none;
    background: #f5f5f5;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
}

.social-login img {
    width: 20px;
}

/* Login button */
.login-btn {
    background: #d71920;
    color: #fff;
    border: none;
}

.login-btn:hover {
    background: #b9151b;
}

/* Responsive */
@media (max-width: 480px) {
    .login-card {
        width: 90%;
        padding: 20px;
    }
}