/* Custom Styles for Points Tracking System */

/* Small Button Styles */
.btn-xs {
    padding: 1px 5px;
    font-size: 11px;
    line-height: 1.5;
    border-radius: 3px;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

/* Compact Table Styles */
.table-compact {
    font-size: 13px;
}

.table-compact th,
.table-compact td {
    padding: 6px 8px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .table-responsive {
        border: 0;
    }
    
    .btn-group-xs > .btn {
        padding: 2px 6px;
        font-size: 10px;
    }
    
    .panel-heading h3 {
        font-size: 16px;
    }
    
    .stats-box h3 {
        font-size: 20px;
    }
}

/* Stats Boxes */
.stats-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.stats-box h3 {
    margin: 0 0 5px 0;
    font-size: 28px;
    font-weight: bold;
}

.stats-box p {
    margin: 0;
    color: #777;
    font-size: 13px;
}

.stats-box.primary {
    border-left: 4px solid #337ab7;
}

.stats-box.success {
    border-left: 4px solid #5cb85c;
}

.stats-box.info {
    border-left: 4px solid #5bc0de;
}

.stats-box.warning {
    border-left: 4px solid #f0ad4e;
}

/* Navbar Customization */
.navbar {
    margin-bottom: 20px;
    border-radius: 0;
}

.navbar-brand {
    font-weight: bold;
    font-size: 16px;
}

/* Form Styles */
.form-compact .form-group {
    margin-bottom: 10px;
}

.form-compact label {
    font-size: 13px;
    margin-bottom: 3px;
}

.form-compact .form-control {
    height: 32px;
    padding: 5px 10px;
    font-size: 13px;
}

/* Panel Customization */
.panel-heading {
    padding: 8px 15px;
}

.panel-heading h3 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

.panel-body {
    padding: 12px;
}

/* Login Page */
.login-container {
    max-width: 400px;
    margin: 80px auto;
}

.login-panel {
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Action Buttons */
.action-buttons {
    white-space: nowrap;
}

.action-buttons .btn {
    margin-right: 3px;
}

/* Badge Styles */
.badge {
    font-size: 11px;
    padding: 3px 6px;
}

/* Pagination */
.pagination {
    margin: 10px 0;
}

.pagination > li > a,
.pagination > li > span {
    padding: 5px 10px;
    font-size: 12px;
}

/* Alert Customization */
.alert {
    padding: 10px 15px;
    margin-bottom: 15px;
    font-size: 13px;
}

/* Footer */
.footer {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid #e7e7e7;
    background-color: #f5f5f5;
}

.footer p {
    margin: 0;
    color: #777;
    font-size: 12px;
}

/* Loading Spinner */
.loading {
    text-align: center;
    padding: 20px;
}

.loading:after {
    content: " ";
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #337ab7;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utility Classes */
.text-xs {
    font-size: 11px;
}

.text-sm {
    font-size: 13px;
}

.mt-10 {
    margin-top: 10px;
}

.mb-10 {
    margin-bottom: 10px;
}

.p-5 {
    padding: 5px;
}

.p-10 {
    padding: 10px;
}

