/* Dashboard Styles */
.handle {
    color: #adb5bd;
    transition: color 0.2s;
    cursor: move;
}

.handle:hover {
    color: #6c757d;
}

.ui-sortable-helper {
    background-color: #f8f9fa;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.ui-sortable-placeholder {
    visibility: visible !important;
    background-color: #e9ecef;
    height: 50px;
}

/* Icon Grid Styles */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

.icon-grid-item {
    cursor: pointer;
    padding: 10px;
    text-align: center;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    transition: all 0.2s;
}

.icon-grid-item:hover {
    background-color: #f8f9fa;
    border-color: #0d6efd;
}

.icon-grid-item.selected {
    background-color: #e7f1ff;
    border-color: #0d6efd;
}

.icon-grid-item i {
    font-size: 24px;
    margin-bottom: 5px;
}

.icon-grid-item span {
    display: block;
    font-size: 12px;
    color: #6c757d;
    word-break: break-all;
}

/* Link Table Styles */
.table-responsive {
    margin-bottom: 1rem;
}

.table th {
    font-weight: 600;
    background-color: #f8f9fa;
}

.table td {
    vertical-align: middle;
}

/* Action Buttons */
.btn-group-sm .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Quick Stats */
.quick-stats-total,
.quick-stats-user,
.quick-stats-profile {
    font-weight: 600;
    color: #0d6efd;
}

/* Alerts */
.alert {
    margin-bottom: 1rem;
}

/* Modals */
.modal-lg {
    max-width: 800px;
}

/* Form Controls */
.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .icon-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .table td {
        white-space: nowrap;
    }
    
    .btn-group-sm .btn {
        padding: 0.2rem 0.4rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Table Styles */
.table th {
    background-color: #f8f9fa;
}

.table td {
    vertical-align: middle;
}

/* Form Styles */
.form-control-color {
    height: 38px;
}

/* Card Styles */
.card {
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

/* Button Styles */
.btn-group-sm .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Quick Stats Styles */
.quick-stats-total,
.quick-stats-user,
.quick-stats-profile {
    font-weight: bold;
    color: #0d6efd;
}

/* Link URL Styles */
.text-truncate {
    max-width: 200px;
    display: inline-block;
    vertical-align: middle;
}

/* Modal Styles */
.modal-body {
    padding: 1.5rem;
}

/* Input Group Styles */
.input-group-text {
    background-color: #f8f9fa;
}

/* Badge Styles */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
} 