* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(to right, rgb(189, 195, 199), rgb(44, 62, 80));
    min-height: 100vh;
}

.main-container {
    padding: 40px 20px;
}

.logo-image {
    max-width: 150px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.navbar-logo {
    max-width: 40px;
    height: auto;
    border-radius: 6px;
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
}

.card-header {
    background: linear-gradient(to right, rgb(52, 152, 219), rgb(41, 128, 185));
    color: white;
    border-radius: 10px 10px 0 0 !important;
    padding: 15px 20px;
}

.welcome-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
}

.welcome-card h1 {
    color: rgb(44, 62, 80);
    font-weight: bold;
}

.welcome-card .lead {
    color: rgb(127, 140, 141);
}

.btn-primary {
    background: linear-gradient(to right, rgb(52, 152, 219), rgb(41, 128, 185));
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(to right, rgb(41, 128, 185), rgb(52, 152, 219));
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: white;
    color: rgb(44, 62, 80);
}

.btn-success {
    background: linear-gradient(to right, rgb(46, 204, 113), rgb(39, 174, 96));
    border: none;
}

.btn-success:hover {
    background: linear-gradient(to right, rgb(39, 174, 96), rgb(46, 204, 113));
}

.btn-info {
    background: linear-gradient(to right, rgb(52, 152, 219), rgb(41, 128, 185));
    border: none;
}

.btn-warning {
    background: linear-gradient(to right, rgb(241, 196, 15), rgb(243, 156, 18));
    border: none;
}

.btn-secondary {
    background: linear-gradient(to right, rgb(149, 165, 166), rgb(127, 140, 141));
    border: none;
}

.navbar {
    background: linear-gradient(to right, rgb(44, 62, 80), rgb(52, 73, 94));
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.3rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: white !important;
    font-weight: 500;
}

.nav-link.active {
    border-bottom: 2px solid rgb(52, 152, 219);
}

.table {
    background: white;
}

.table thead {
    background: linear-gradient(to right, rgb(52, 152, 219), rgb(41, 128, 185));
    color: white;
}

.table thead th {
    border: none;
    font-weight: 500;
}

.table tbody tr:hover {
    background: rgba(52, 152, 219, 0.1);
}

.badge {
    padding: 6px 12px;
    font-size: 0.85rem;
}

.badge.bg-info {
    background: linear-gradient(to right, rgb(52, 152, 219), rgb(41, 128, 185)) !important;
}

.badge.bg-success {
    background: linear-gradient(to right, rgb(46, 204, 113), rgb(39, 174, 96)) !important;
}

.badge.bg-warning {
    background: linear-gradient(to right, rgb(241, 196, 15), rgb(243, 156, 18)) !important;
}

.badge.bg-danger {
    background: linear-gradient(to right, rgb(231, 76, 60), rgb(192, 57, 43)) !important;
}

.form-control,
.form-select {
    border: 2px solid rgb(189, 195, 199);
    border-radius: 8px;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: rgb(52, 152, 219);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.input-group .btn {
    border-radius: 0 8px 8px 0;
}

.input-group .form-control {
    border-radius: 8px 0 0 8px;
}

.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background: linear-gradient(to right, rgb(52, 152, 219), rgb(41, 128, 185));
    color: white;
    border-radius: 12px 12px 0 0;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(to right, rgb(46, 204, 113), rgb(39, 174, 96));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 40px;
    font-weight: bold;
}

.member-no {
    color: rgb(52, 152, 219);
    font-weight: bold;
    margin: 20px 0;
}

.text-primary {
    color: rgb(52, 152, 219) !important;
}

.text-success {
    color: rgb(46, 204, 113) !important;
}

.text-info {
    color: rgb(52, 152, 219) !important;
}

.text-danger {
    color: rgb(231, 76, 60) !important;
}

.card h2 {
    font-weight: bold;
    margin: 0;
}

.card h5 {
    color: rgb(127, 140, 141);
    font-weight: 500;
}

.card-title {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.table-responsive {
    border-radius: 8px;
    overflow: hidden;
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

.chart-container canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

@media (max-width: 768px) {
    .main-container {
        padding: 20px 10px;
    }
    
    .welcome-card {
        padding: 20px;
    }
    
    .card {
        margin-bottom: 15px;
    }
    
    .btn-lg {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .welcome-card h1 {
        font-size: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
}
