/* =====================================
   STYLES POUR OUTILS PARTAGÉS ÉQUIPE
   ===================================== */

.shared-tools-panel {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 20px;
    margin: 15px 0;
    color: white;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.shared-tools-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.shared-tools-header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.shared-tool-item {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 15px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.shared-tool-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.shared-tool-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tool-name {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
}

.tool-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    opacity: 0.8;
}

.tool-price {
    color: #4CAF50;
    font-weight: bold;
}

.tool-usage {
    color: #FFC107;
}

.tool-author {
    color: #E3F2FD;
}

.btn-add-tool {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-add-tool:hover {
    background: #45a049;
    transform: scale(1.05);
}

.btn-share-tool {
    background: #FF6B35;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-share-tool:hover {
    background: #e55a2e;
    transform: scale(1.05);
}

.search-shared-tools {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    padding: 10px 15px;
    color: white;
    width: 100%;
    margin-bottom: 15px;
}

.search-shared-tools::placeholder {
    color: rgba(255,255,255,0.7);
}

.shared-tools-stats {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    font-size: 12px;
}

.stat-item {
    background: rgba(255,255,255,0.1);
    padding: 8px 12px;
    border-radius: 6px;
    text-align: center;
}

.empty-shared-tools {
    text-align: center;
    padding: 30px;
    opacity: 0.7;
}

.share-tool-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    z-index: 10000;
    min-width: 400px;
}

.share-tool-modal h3 {
    margin-top: 0;
    color: #333;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-weight: bold;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.btn-confirm {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.btn-cancel {
    background: #f44336;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.btn-refresh {
    background: #2196F3;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}

.btn-refresh:hover {
    background: #1976D2;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .shared-tool-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .tool-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .shared-tools-header {
        flex-direction: column;
        gap: 15px;
    }
}