/* Custom CSS */

/* Login Page */
.login-box {
    max-width: 400px;
    margin: 7% auto;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0 15px rgba(0,0,0,.05);
    overflow: hidden;
}

.login-box .header {
    background: var(--bs-primary);
    padding: 2rem;
    text-align: center;
    color: #fff;
}

.login-box .header img {
    height: 50px;
    margin-bottom: 1rem;
}

.login-box .header h4 {
    margin: 0;
    font-weight: 500;
}

.login-box .body {
    padding: 2rem;
}

.login-box .form-floating {
    margin-bottom: 1rem;
}

.login-box .form-floating .form-control {
    border-radius: 0.375rem;
    border: 1px solid rgba(0,0,0,.1);
}

.login-box .btn-login {
    width: 100%;
    padding: 0.75rem;
    font-weight: 500;
}

/* Dashboard Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: #fff;
    border-radius: 0.5rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 0 15px rgba(0,0,0,.05);
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-card .icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    font-size: 1.5rem;
}

.stat-card .content {
    flex: 1;
}

.stat-card .number {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.stat-card .label {
    color: var(--bs-secondary);
    margin: 0;
    font-size: 0.875rem;
}

/* Data Tables */
.datatable-card {
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0 15px rgba(0,0,0,.05);
    overflow: hidden;
}

.datatable-card .card-header {
    background: #fff;
    padding: 1.25rem;
    border-bottom: 1px solid rgba(0,0,0,.05);
}

.datatable-card .card-body {
    padding: 1.25rem;
}

.table > :not(caption) > * > * {
    padding: 1rem;
}

.table > thead > tr > th {
    background: var(--bs-light);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.table > tbody > tr:hover {
    background-color: rgba(0,0,0,.02);
}

/* Forms */
.form-card {
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0 15px rgba(0,0,0,.05);
    overflow: hidden;
}

.form-card .card-header {
    background: #fff;
    padding: 1.25rem;
    border-bottom: 1px solid rgba(0,0,0,.05);
}

.form-card .card-body {
    padding: 1.25rem;
}

.form-floating > .form-control,
.form-floating > .form-select {
    height: calc(3.5rem + 2px);
    line-height: 1.25;
}

.form-floating > label {
    padding: 1rem 0.75rem;
}

/* Alerts */
.alert {
    border: none;
    border-radius: 0.5rem;
    padding: 1rem 1.25rem;
}

.alert-dismissible .btn-close {
    padding: 1.25rem;
}

/* Utilities */
.shadow-sm {
    box-shadow: 0 0 15px rgba(0,0,0,.05) !important;
}

.rounded-4 {
    border-radius: 0.5rem !important;
}

/* Responsive */
@media (max-width: 768px) {
    .login-box {
        margin: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card .number {
        font-size: 1.25rem;
    }
} 