/* Admin Tools Styles */

.admin-tools-container {
    padding: 1rem;
}

.tool-card {
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    overflow: hidden;
}

.tool-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tool-card .card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom: none;
}

.tool-card.card-primary .card-header {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.tool-card.card-success .card-header {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}

.tool-card.card-warning .card-header {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: #343a40;
}

.tool-card.card-info .card-header {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
}

.info-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.375rem;
    margin-bottom: 0.5rem;
}

.info-box-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    color: white;
    border-radius: 0.375rem 0 0 0.375rem;
}

.info-box-content {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-box-text {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.info-box-number {
    font-size: 1.25rem;
    font-weight: 600;
    color: #495057;
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    padding: 0.25rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list i {
    width: 20px;
    text-align: center;
}

.quick-actions .btn {
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.quick-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.tips-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
}

.tips-card .card-header {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.tips-list {
    font-size: 0.875rem;
    line-height: 1.6;
}

.tips-list li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
    border-left: 2px solid #e9ecef;
}

.tips-list strong {
    color: #495057;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tool-card {
        margin-bottom: 1rem;
    }

    .info-box {
        text-align: center;
    }

    .info-box-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .quick-actions .btn {
        margin-bottom: 0.75rem;
    }
}

/* Animation for loading */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tool-card {
    animation: fadeInUp 0.6s ease forwards;
}

.tool-card:nth-child(1) {
    animation-delay: 0.1s;
}

.tool-card:nth-child(2) {
    animation-delay: 0.2s;
}

.tool-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Hover effects for buttons */
.btn-outline-primary:hover,
.btn-outline-success:hover,
.btn-outline-warning:hover,
.btn-outline-info:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

/* Custom scrollbar for card content */
.card-body::-webkit-scrollbar {
    width: 4px;
}

.card-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.card-body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 2px;
}

.card-body::-webkit-scrollbar-thumb:hover {
    background: #555;
}