/* CSS adicional para elementos de la integración */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.stat-card {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.stat-card h3 {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #28a745;
    margin: 0;
}

.sessions-list {
    display: grid;
    gap: 1rem;
    margin: 1rem 0;
}

.session-card {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
}

.session-card h4 {
    margin-bottom: 0.5rem;
    color: #495057;
}

.session-card button {
    margin-right: 0.5rem;
    padding: 0.25rem 0.75rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.session-card button:first-of-type {
    background: #28a745;
    color: white;
}

.session-card button:last-of-type {
    background: #dc3545;
    color: white;
}

.message-form {
    margin: 1rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.message-form textarea {
    width: 100%;
    min-height: 100px;
    padding: 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    resize: vertical;
}

.message-form button {
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.messages-list {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
}

.message-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

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

.message-time {
    font-size: 0.8rem;
    color: #6c757d;
    float: right;
}

.profile-form {
    max-width: 400px;
    margin: 1rem 0;
}

.profile-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.profile-form input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.profile-form button {
    padding: 0.5rem 1rem;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.loading {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
}

.error {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin: 1rem 0;
}

