/* ===========================
   Base & Body Styles
=========================== */
body {
    font-family: 'Segoe UI', Tahoma, 'Geneva', Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    min-height: 100vh;
    background: #dde1e7;
    margin: 0;
    padding: 0;
}

/* ===========================
   Containers
=========================== */
.container {
    background: #dde1e7;
    padding: 30px;
    margin-top: 30px;
    border-radius: 20px;
    box-shadow: -6px -6px 10px #ffffff, 6px 6px 10px rgba(94, 104, 121, 0.3);
}

/* ===========================
   Forms & Inputs
=========================== */
.form-control,
.form-select {
    background: #dde1e7;
    border: none;
    border-radius: 12px;
    box-shadow: inset -3px -3px 6px #fff, inset 3px 3px 6px rgba(0,0,0,0.1);
    padding: 10px 15px;
    color: #333;
    transition: 0.2s;
    width: 100%;
}

.form-control:focus,
.form-select:focus {
    box-shadow: inset -2px -2px 5px #fff, inset 2px 2px 5px rgba(0,0,0,0.15);
    outline: none;
}

.form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
    display: block;
}

/* Checkbox */
.form-check-input {
    width: 20px;
    height: 20px;
    background: #dde1e7;
    border: none;
    border-radius: 6px;
    box-shadow: -2px -2px 4px #fff, 2px 2px 4px rgba(0,0,0,0.1);
}

.form-check-input:checked {
    background-color: #0d6efd;
    box-shadow: inset -2px -2px 4px #fff, inset 2px 2px 4px rgba(0,0,0,0.2);
}

/* ===========================
   Buttons
=========================== */
.btn-primary,
.btn-success {
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 500;
    box-shadow: -3px -3px 6px #fff, 3px 3px 6px rgba(0,0,0,0.2);
    transition: 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background: #dde1e7;
    color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0d6efd;
    color: #fff;
    box-shadow: inset -2px -2px 4px #fff, inset 2px 2px 4px rgba(0,0,0,0.2);
}

.btn-primary:active,
.btn-primary:focus {
    background-color: #0b5ed7 !important;
    color: #fff !important;
}

.btn-success {
    background: #dde1e7;
    color: #198754;
}

.btn-success:hover {
    background-color: #198754;
    color: #fff;
    box-shadow: inset -2px -2px 4px #fff, inset 2px 2px 4px rgba(0,0,0,0.2);
}

.btn-success:active,
.btn-success:focus {
    background-color: #157347 !important;
    color: #fff !important;
}

/* ===========================
   Alerts
=========================== */
.alert {
    margin-top: 20px;
    background: #c8ffba;
    color: #388504;
    border: none;
    border-radius: 12px;
    box-shadow: -3px -3px 6px #fff, 3px 3px 6px rgba(0,0,0,0.1);
    padding: 12px 16px;
}

/* ===========================
   Navbar
=========================== */
.navbar {
    background-color: #dde1e7 !important;
    box-shadow: inset 3px 3px 7px #c1c5ca, inset -3px -3px 7px #ffffff;
}

.navbar-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.navbar-nav .nav-link {
    background: #dde1e7;
    box-shadow: -3px -3px 7px #ffffff73, 2px 2px 3px rgba(94, 104, 121, 0.288);
    border-radius: 12px;
    min-width: 120px;
    text-align: center;
    margin: 5px;
    padding: 8px 16px;
    color: #333 !important;
    font-weight: 500;
    transition: 0.3s;
}

.navbar-nav .nav-link:hover {
    box-shadow: inset -2px -2px 5px #ffffff73, inset 2px 2px 5px rgba(94,104,121,0.288);
    color: #0d6efd !important;
}

.navbar-brand {
    font-weight: bold;
    color: #0d6efd !important;
}

.navbar-toggler {
    border: none;
}

/* ===========================
   Cards & Neumorphic
=========================== */
.card,
.neumorphic-card {
    background: #dde1e7;
    border-radius: 20px;
    box-shadow: -6px -6px 10px #ffffff, 6px 6px 10px rgba(94,104,121,0.3);
    margin-bottom: 30px;
    padding: 20px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.card:hover,
.neumorphic-card:hover {
    box-shadow: inset -3px -3px 7px #ffffff, inset 3px 3px 7px rgba(94,104,121,0.3);
    transform: translateY(-3px);
}

.card-header {
    background: #dde1e7;
    border-bottom: 2px solid rgba(0,0,0,0.05);
    padding: 20px;
    box-shadow: 0 4px 6px -6px rgba(94,104,121,0.1);
}

.card-header h5 {
    font-weight: 600;
    color: #0d6efd;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
}

.card-body {
    padding: 25px;
}

/* ===========================
   Tables
=========================== */
.table-responsive {
    margin-top: 20px;
    background: #dde1e7;
    padding: 20px;
    border-radius: 15px;
    box-shadow: inset 3px 3px 6px #c1c5ca, inset -3px -3px 6px #ffffff;
}

.table {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
}

.table th {
    background-color: #343a40;
    color: white;
    text-align: center;
    padding: 12px;
    font-weight: bold;
}

.table td {
    background: #f0f0f3;
    vertical-align: middle;
    text-align: center;
    padding: 10px;
    box-shadow: inset -1px -1px 2px #ffffff, inset 1px 1px 2px rgba(0,0,0,0.1);
}

/* ===========================
   Footer
=========================== */
.neumorphic-footer {
    background: #dde1e7;
    box-shadow: inset 4px 4px 8px #c1c5ca, inset -4px -4px 8px #ffffff;
    color: #333;
    text-align: center;
    padding: 20px 10px;
    margin-top: 40px;
    border-radius: 20px 20px 0 0;
    font-weight: 500;
}

.neumorphic-footer p {
    margin: 0;
    line-height: 1.6;
}

.footer-logo {
    margin-left: 10px;
    border-radius: 50%;
    background: #dde1e7;
    padding: 6px;
    box-shadow: -2px -2px 5px #fff, 2px 2px 5px rgba(0,0,0,0.1);
}
/* ===========================
   Glassmorphism Developer Button
=========================== */
.glass-dev-btn {
    position: absolute;
    left: 20px;
    bottom: 20px;
    
    /* Glass Effect Properties */
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    
    /* Text & Layout Styling */
    color: #0d6efd;
    padding: 8px 16px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 10;
}

.glass-dev-btn:hover {
    background: rgba(255, 255, 255, 0.45);
    color: #0b5ed7;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Make it responsive so it doesn't overlap text on small phone screens */
@media (max-width: 768px) {
    .glass-dev-btn {
        position: relative;
        left: 0;
        bottom: 0;
        display: inline-block;
        margin-top: 15px;
    }
}
/* ===========================
   Responsive
=========================== */
@media (max-width: 768px) {
    .neumorphic-footer {
        font-size: 14px;
        padding: 15px 5px;
    }

    .card-body {
        padding: 15px;
    }
    
    .form-select {
        padding: 10px 12px;
    }
    
    .btn-primary {
        padding: 10px 15px;
    }
}

/* ===========================
   Grid for Form
=========================== */
.row.g-3 {
    margin-right: -10px;
    margin-left: -10px;
}

.row.g-3 > [class^="col-"] {
    padding-right: 10px;
    padding-left: 10px;
}

/* ===========================
   Custom Select Arrow
=========================== */
.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%230d6efd' viewBox='0 0 16 16'%3E%3Cpath d='M8 12L2 6h12L8 12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

/* ===========================
   Statistics Cards - Neumorphic Style
=========================== */
.stats-row {
    margin-bottom: 30px;
}

.stats-card {
    background: #dde1e7;
    border-radius: 20px;
    box-shadow: -6px -6px 10px #ffffff, 6px 6px 10px rgba(94, 104, 121, 0.3);
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    margin-bottom: 20px;
    height: 100%;
}

.stats-card:hover {
    box-shadow: inset -3px -3px 7px #ffffff, inset 3px 3px 7px rgba(94, 104, 121, 0.3);
    transform: translateY(-5px);
}

.stats-card-primary {
    color: #0d6efd;
}

.stats-card-success {
    color: #198754;
}

.stats-card-info {
    color: #0dcaf0;
}

.stats-card-warning {
    color: #ffc107;
}

.stats-card-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 3px rgba(255, 255, 255, 0.8);
}

.stats-card-text {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: #555;
}

.stats-card-btn {
    background: #dde1e7;
    border: none;
    border-radius: 12px;
    padding: 8px 20px;
    font-weight: 500;
    box-shadow: -3px -3px 6px #fff, 3px 3px 6px rgba(0, 0, 0, 0.2);
    transition: 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9rem;
}

.stats-card-primary .stats-card-btn {
    color: #0d6efd;
}

.stats-card-success .stats-card-btn {
    color: #198754;
}

.stats-card-info .stats-card-btn {
    color: #0dcaf0;
}

.stats-card-warning .stats-card-btn {
    color: #ffc107;
}

.stats-card-btn:hover {
    box-shadow: inset -2px -2px 4px #fff, inset 2px 2px 4px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.stats-card-primary .stats-card-btn:hover {
    background-color: #0d6efd;
    color: #fff;
}

.stats-card-success .stats-card-btn:hover {
    background-color: #198754;
    color: #fff;
}

.stats-card-info .stats-card-btn:hover {
    background-color: #0dcaf0;
    color: #fff;
}

.stats-card-warning .stats-card-btn:hover {
    background-color: #ffc107;
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stats-card {
        padding: 20px 15px;
        margin-bottom: 15px;
    }
    
    .stats-card-title {
        font-size: 2rem;
    }
    
    .stats-card-text {
        font-size: 1rem;
    }
    
    .stats-card-btn {
        padding: 6px 15px;
        font-size: 0.85rem;
    }
}

/* Statistics Cards - Neumorphic Style */
.stats-row {
    margin-bottom: 30px;
}

.stats-card {
    background: #dde1e7;
    border-radius: 20px;
    box-shadow: -6px -6px 10px #ffffff, 6px 6px 10px rgba(94, 104, 121, 0.3);
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    margin-bottom: 20px;
    height: 100%;
}

.stats-card:hover {
    box-shadow: inset -3px -3px 7px #ffffff, inset 3px 3px 7px rgba(94, 104, 121, 0.3);
    transform: translateY(-5px);
}

.stats-card-primary {
    color: #0d6efd;
}

.stats-card-success {
    color: #198754;
}

.stats-card-danger {
    color: #dc3545;
}

.stats-card-info {
    color: #0dcaf0;
}

.stats-card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 3px rgba(255, 255, 255, 0.8);
}

.stats-card-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 3px rgba(255, 255, 255, 0.8);
}

.stats-card-text {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0;
    color: #555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stats-card {
        padding: 20px 15px;
        margin-bottom: 15px;
    }
    
    .stats-card-title {
        font-size: 2rem;
    }
    
    .stats-card-text {
        font-size: 1rem;
    }
}

/* Recent Activity Card - Neumorphic Style */
.recent-activity-card {
    background: #dde1e7;
    border-radius: 20px;
    box-shadow: -6px -6px 10px #ffffff, 6px 6px 10px rgba(94, 104, 121, 0.3);
    margin-bottom: 30px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.recent-activity-card:hover {
    box-shadow: inset -3px -3px 7px #ffffff, inset 3px 3px 7px rgba(94, 104, 121, 0.3);
    transform: translateY(-3px);
}

.recent-activity-card .card-header {
    background: #dde1e7;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    padding: 20px;
    box-shadow: 0 4px 6px -6px rgba(94, 104, 121, 0.1);
}

.recent-activity-card .card-header h5 {
    font-weight: 600;
    color: #0d6efd;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.recent-activity-card .card-body {
    padding: 25px;
}

.recent-activity-card h6 {
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* List Group Items */
.recent-activity-card .list-group {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset -3px -3px 6px #fff, inset 3px 3px 6px rgba(0, 0, 0, 0.1);
}

.recent-activity-card .list-group-item {
    background: #dde1e7;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px;
    transition: all 0.2s ease;
}

.recent-activity-card .list-group-item:last-child {
    border-bottom: none;
}

.recent-activity-card .list-group-item:hover {
    background: #d1d7e0;
    box-shadow: inset -2px -2px 5px #fff, inset 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.recent-activity-card .list-group-item strong {
    color: #0d6efd;
    font-weight: 600;
}

.recent-activity-card .list-group-item .text-muted {
    color: #6c757d !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .recent-activity-card .card-body {
        padding: 15px;
    }
    
    .recent-activity-card .list-group-item {
        padding: 12px;
    }
}

/* Summary Statistics Cards - Neumorphic Style */
.summary-stats-row {
    margin-bottom: 30px;
}

.summary-stats-card {
    background: #dde1e7;
    border-radius: 20px;
    box-shadow: -6px -6px 10px #ffffff, 6px 6px 10px rgba(94, 104, 121, 0.3);
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    margin-bottom: 20px;
    height: 100%;
}

.summary-stats-card:hover {
    box-shadow: inset -3px -3px 7px #ffffff, inset 3px 3px 7px rgba(94, 104, 121, 0.3);
    transform: translateY(-5px);
}

.summary-stats-primary {
    color: #0d6efd;
}

.summary-stats-success {
    color: #198754;
}

.summary-stats-danger {
    color: #dc3545;
}

.summary-stats-info {
    color: #0dcaf0;
}

.summary-stats-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 3px rgba(255, 255, 255, 0.8);
}

.summary-stats-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 3px rgba(255, 255, 255, 0.8);
}

.summary-stats-text {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0;
    color: #555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .summary-stats-card {
        padding: 20px 15px;
        margin-bottom: 15px;
    }
    
    .summary-stats-title {
        font-size: 2rem;
    }
    
    .summary-stats-text {
        font-size: 1rem;
    }
}

/* Neumorphic dropdown menu */
.dropdown-menu {
    background: #e0e5ec;
    border: none;
    box-shadow: 
        9px 9px 16px #a3b1c6,
        -9px -9px 16px #ffffff;
    border-radius: 15px;
    padding: 10px 0;
}

.dropdown-menu .dropdown-item {
    color: #2b2e3b;
    background: transparent;
    border-radius: 12px;
    margin: 5px 10px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: none;
}

.dropdown-menu .dropdown-item:hover {
    background: #e0e5ec;
    color: #1a1d26;
    box-shadow: 
        inset 5px 5px 10px #a3b1c6,
        inset -5px -5px 10px #ffffff;
}