/* SecureVibe Section Styling */

.security-guide-content {
    max-width: 1200px;
    margin: 0 auto;
}

.security-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.security-checklist li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f3f4;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    transition: all 0.2s ease;
}

.security-checklist li:hover {
    background: #f8f9fa;
    padding-left: 1rem;
    border-radius: 4px;
}

.security-checklist li:last-child {
    border-bottom: none;
}

.security-checklist li::before {
    content: "⚠️";
    font-size: 1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.security-category {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

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

.best-practices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.practice-item {
    background: #ffffff;
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid #27ae60;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

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

.practice-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.practice-item ul li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.practice-item ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: #27ae60;
    font-weight: bold;
}

.checklist-section {
    margin-bottom: 2rem;
}

.checklist-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.checklist-item:hover {
    background: #e3f2fd;
    border-color: #667eea;
    transform: translateY(-1px);
}

.checklist-item input[type="checkbox"] {
    margin: 0;
    width: 1.1rem;
    height: 1.1rem;
    cursor: pointer;
}

.checklist-item input[type="checkbox"]:checked + span {
    text-decoration: line-through;
    color: #6c757d;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tool-category {
    background: #ffffff;
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid #f39c12;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

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

.tool-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tool-category ul li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.tool-category ul li::before {
    content: "🔧";
    position: absolute;
    left: 0;
    top: 0.5rem;
}

.action-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .best-practices-grid,
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .checklist-items {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-btn {
        justify-content: center;
    }
    
    .security-category,
    .practice-item,
    .tool-category {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .securevibe-header h1 {
        font-size: 1.5rem;
    }
    
    .securevibe-header p {
        font-size: 0.9rem;
    }
    
    .card-header h2 {
        font-size: 1.25rem;
    }
    
    .checklist-item {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
}

/* Card styling enhancements for SecureVibe */
.securevibe-header + .security-guide-content .card {
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.securevibe-header + .security-guide-content .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.securevibe-header + .security-guide-content .card-header {
    border-radius: 12px 12px 0 0;
    padding: 1.5rem;
}

.securevibe-header + .security-guide-content .card-body {
    padding: 2rem;
}

/* Spinner animation for loading states */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner {
    animation: spin 1s linear infinite;
}

/* SecureVibe metrics grid responsive */
@media (max-width: 768px) {
    #secureVibeMetrics {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
}

@media (max-width: 480px) {
    #secureVibeMetrics {
        grid-template-columns: 1fr !important;
    }
}