/* Card Styles */
.card {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 1.5rem;
}

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

.card-header {
    background-color: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
}

/* Collection Items */
.collection {
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 0.5rem;
}

.collection-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.collection-item:last-child {
    border-bottom: none;
}

/* Keywords Chips */
.chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    margin: 4px;
    background-color: #e9ecef;
    border-radius: 16px;
    font-size: 0.875rem;
}

.keyword-count {
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    margin-left: 8px;
    font-size: 0.75rem;
}

/* Section Headers */
.analysis-section h6,
.error-section h6,
.suggestions-section h6 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid;
}

.text-primary {
    border-color: #007bff;
}

.text-danger {
    border-color: #dc3545;
}

.text-success {
    border-color: #28a745;
}

/* List Items */
.list-unstyled li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.list-unstyled li i {
    margin-right: 0.5rem;
}

/* Modal Styles */
.modal-content {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.modal-header {
    background-color: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
}

/* PDF Content Container */
#content-to-pdf {
    background-color: white;
    padding: 20px;
}

/* Print Specific Styles */
@media print {
    .btn { 
        display: none !important; 
    }
    
    .card { 
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .container { 
        width: 100% !important; 
        max-width: none !important;
        padding: 0 !important;
    }
    
    .chip {
        border: 1px solid #ddd;
    }
    
    .keyword-count {
        border: 1px solid #007bff;
        background-color: transparent;
        color: #007bff;
    }
}