/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    background: #f5f7fa;
    color: #333;
    overflow: hidden;
}

/* Login Modal */
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.login-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header .logo-image {
    width: 120px;
    height: auto;
    margin-bottom: 15px;
    border-radius: 10px;
}

.login-header h1 {
    color: #4a5568;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.login-header p {
    color: #718096;
    font-size: 1rem;
}

.login-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e2e8f0;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #718096;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: #4299e1;
    border-bottom-color: #4299e1;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #4a5568;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group label i {
    margin-right: 8px;
    color: #4299e1;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    background: white;
    cursor: pointer;
}

.btn-block {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
}

.error-message {
    background: #fed7d7;
    color: #c53030;
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 0.9rem;
}

/* Main Application */
.app-container {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: #2d3748;
    color: white;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar.collapsed {
    transform: translateX(-100%);
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header .sidebar-logo {
    width: 235px;
    margin-right: 10px;
    border-radius: 5px;
    object-fit: cover;
}

.sidebar-header h2 {
    font-size: 1.5rem;
    color: white;
    display: flex;
    align-items: center;
}

.instance-selector-container {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.1);
}

.instance-selector-label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.instance-selector {
    width: 100%;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.instance-selector:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.instance-selector:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #4299e1;
    box-shadow: 0 0 0 2px rgba(66, 153, 225, 0.2);
}

.instance-selector option {
    background: #2d3748;
    color: white;
    padding: 10px;
}

.sidebar-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.sidebar-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar-menu {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

/* Para items del menú que son enlaces directos (sin submenú) */
.menu-item:not([data-section="admin"]) {
    flex-direction: row;
    padding: 15px 20px;
}

.menu-item:not([data-section="admin"]):hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.menu-item:not([data-section="admin"]).active {
    background: rgba(66, 153, 225, 0.2);
    color: white;
    border-left-color: #4299e1;
}

.menu-item:not([data-section="admin"]) i {
    margin-right: 12px;
    font-size: 1.1rem;
    width: 20px;
}

.menu-item-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 15px 20px;
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.menu-item-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.menu-item.active .menu-item-link {
    background: rgba(66, 153, 225, 0.2);
    color: white;
}

.menu-item.active {
    border-left-color: #4299e1;
}

.menu-item-link i:first-child {
    margin-right: 12px;
    font-size: 1.1rem;
    width: 20px;
}

.submenu-arrow {
    margin-left: auto;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.menu-item.active .submenu-arrow {
    transform: rotate(180deg);
}

.submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: rgba(0, 0, 0, 0.15);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    display: block;
    opacity: 0;
}

.menu-item.active .submenu {
    max-height: 200px;
    opacity: 1;
}

.submenu li {
    margin: 0;
    padding: 0;
}

.submenu-item {
    display: flex;
    align-items: center;
    padding: 12px 20px 12px 50px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-size: 0.9rem;
    width: 100%;
}

.submenu-item i {
    margin-right: 12px;
    font-size: 1rem;
    width: 20px;
}

.submenu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-left-color: #4299e1;
}

.submenu-item.active {
    background: rgba(66, 153, 225, 0.2);
    color: white;
    border-left-color: #4299e1;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.user-avatar {
    font-size: 2.5rem;
    margin-right: 12px;
    color: #4299e1;
}

.user-details {
    flex: 1;
}

.user-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.user-role {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #f5f7fa;
}

.content-section {
    display: none;
    flex: 1;
    flex-direction: column;
    overflow: hidden;
    padding: 20px;
}

.content-section.active {
    display: flex;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.section-header h2 {
    color: #4a5568;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-actions {
    display: flex;
    gap: 10px;
}

/* Chat Container */
.chat-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f9fafb;
}

.message {
    display: flex;
    margin-bottom: 15px;
    animation: fadeIn 0.3s ease-in;
}

.message.user {
    justify-content: flex-end;
}

.message i {
    margin-right: 10px;
    margin-top: 5px;
    font-size: 1.2rem;
}

.message.user i {
    color: #4299e1;
}

.message.assistant i {
    color: #48bb78;
}

.message.system i {
    color: #ed8936;
}

.message.data i {
    color: #805ad5;
}

.message-content {
    flex: 1;
    background: white;
    padding: 5px 15px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-left: 3px solid #e2e8f0;
    max-width: 100%;
}

.message.user .message-content {
    flex: 0 1 auto;
    background: #ebf8ff;
    border-left-color: #4299e1;
    max-width: 70%;
    border-radius: 10px 10px 0 10px;
}

.message.assistant .message-content {
    background: #f0fff4;
    border-left-color: #48bb78;
}

.message.system .message-content {
    background: #fffaf0;
    border-left-color: #ed8936;
}

.message.data .message-content {
    background: #f8f5ff;
    border-left-color: #805ad5;
}

.message-content p {
    margin-bottom: 8px;
    line-height: 1.5;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.sql-query {
    background: #2d3748;
    color: #e2e8f0;
    padding: 12px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    margin: 10px 0;
    overflow-x: auto;
    border-left: 3px solid #4299e1;
    line-height: 1.4;
}

.data-table-wrapper {
    max-height: 300px;
    overflow: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-top: 10px;
}

.data-table th,
.data-table td {
    font-size: 0.85rem;
}

.chat-input-area {
    padding: 20px;
    border-top: 2px solid #e2e8f0;
    background: white;
}

.input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.input-group input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input:focus {
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

/* Results Section */
.results-section {
    margin-top: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    max-height: 400px;
    display: flex;
    flex-direction: column;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.results-header h3 {
    color: #4a5568;
    font-size: 1.2rem;
}

.results-controls {
    display: flex;
    gap: 10px;
}

.results-content {
    flex: 1;
    overflow: auto;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.results-table th {
    background: #4a5568;
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    position: sticky;
    top: 0;
}

.results-table td {
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.85rem;
}

.results-table tr:nth-child(even) {
    background: #f7fafc;
}

.results-table tr:hover {
    background: #edf2f7;
}

/* Favorites Section */
.favorites-container {
    flex: 1;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    overflow-y: auto;
}

.favorites-list {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    align-items: stretch;
}

.favorite-item {
    background: #f7fafc;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #ed8936;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 160px;
}

.favorite-item:hover {
    background: #edf2f7;
    transform: translateX(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.favorite-item h4 {
    color: #4a5568;
    margin-bottom: 8px;
    font-size: 1rem;
}

.favorite-item p {
    color: #718096;
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.favorite-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

/* Schema Section */
.schema-container {
    flex: 1;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    overflow-y: auto;
}

.schema-info {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    white-space: pre-wrap;
    background: #f7fafc;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #48bb78;
}

/* Profile Section */
.profile-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 40px;
}

.profile-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 40px;
    width: 100%;
    max-width: 600px;
}

.profile-avatar {
    text-align: center;
    margin-bottom: 30px;
}

.profile-avatar i {
    font-size: 5rem;
    color: #4299e1;
}

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

.profile-info-item {
    margin-bottom: 20px;
    padding: 15px;
    background: #f7fafc;
    border-radius: 8px;
}

.profile-info-item label {
    display: block;
    color: #718096;
    font-size: 0.85rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.profile-info-item span {
    color: #4a5568;
    font-size: 1.1rem;
}

/* Admin Section */
.admin-container {
    flex: 1;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    overflow-y: auto;
}

.admin-panel h3 {
    color: #4a5568;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.users-list {
    display: grid;
    gap: 15px;
}

.user-card {
    background: #f7fafc;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #4299e1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-card-info {
    flex: 1;
}

.user-card-info h4 {
    color: #4a5568;
    margin-bottom: 5px;
}

.user-card-info p {
    color: #718096;
    font-size: 0.85rem;
}

.user-card-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.role-select {
    padding: 8px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.85rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.role-select:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.role-select:disabled {
    background: #f7fafc;
    cursor: not-allowed;
    opacity: 0.6;
}

.form-help {
    display: block;
    margin-top: 5px;
    font-size: 0.75rem;
    color: #718096;
    font-style: italic;
}

.user-card-info small {
    display: block;
    margin-top: 5px;
}

/* Instances Section */
.instances-container {
    flex: 1;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    overflow-y: auto;
}

.instances-list {
    display: grid;
    gap: 15px;
}

.instance-card {
    background: #f7fafc;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #4299e1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.instance-card:hover {
    background: #edf2f7;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.instance-info {
    flex: 1;
}

.instance-info h4 {
    color: #4a5568;
    margin-bottom: 10px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.instance-info p {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.instance-info small {
    display: block;
    margin-top: 8px;
    color: #718096;
    font-size: 0.8rem;
}

.instance-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.checkbox-item {
    display: flex;
    align-items: center;
    padding: 12px;
    margin-bottom: 8px;
    background: #f7fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-item:hover {
    background: #edf2f7;
    border-color: #4299e1;
}

.checkbox-item input[type="checkbox"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-item span {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.checkbox-item span strong {
    color: #4a5568;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.checkbox-item span small {
    color: #718096;
    font-size: 0.8rem;
}

.instances-checkbox-list {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.btn-primary {
    background: #4299e1;
    color: white;
}

.btn-primary:hover {
    background: #3182ce;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
}

.btn-secondary {
    background: #718096;
    color: white;
}

.btn-secondary:hover {
    background: #4a5568;
    transform: translateY(-2px);
}

.btn-success {
    background: #48bb78;
    color: white;
}

.btn-success:hover {
    background: #38a169;
    transform: translateY(-2px);
}

.btn-danger {
    background: #f56565;
    color: white;
}

.btn-danger:hover {
    background: #e53e3e;
    transform: translateY(-2px);
}

.btn-info {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
}

.btn-info:hover {
    background: linear-gradient(135deg, #138496, #117a8b);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: white;
    border-radius: 15px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid #e2e8f0;
}

.modal-header h3 {
    color: #4a5568;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #718096;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f7fafc;
    color: #4a5568;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 20px;
    border-top: 2px solid #e2e8f0;
}

.readonly-text {
    background: #f7fafc;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
    white-space: pre-wrap;
    word-break: break-all;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

.loading-spinner {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.loading-spinner i {
    font-size: 3rem;
    color: #4299e1;
    margin-bottom: 20px;
}

.loading-spinner p {
    color: #4a5568;
    font-size: 1.1rem;
    margin: 0;
}

/* Empty State */
.empty-state {
    text-align: center;
    color: #718096;
    font-style: italic;
    padding: 40px;
}

/* Success/Error Messages */
.success-message {
    background: #c6f6d5;
    color: #2f855a;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #48bb78;
    margin: 10px 0;
}

.error-message {
    background: #fed7d7;
    color: #c53030;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #e53e3e;
    margin: 10px 0;
}

.info-message {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    color: #0c5460;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Visualizations */
.visualization-container {
    margin: 12px 0;
    padding: 12px;
    background: white;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    text-align: center;
    overflow-x: auto;
    min-height: 200px;
}

.visualization-container svg {
    max-width: 100%;
    height: auto;
}

.analysis-text {
    /*background: #e3f2fd;*/
    /*border-left: 4px solid #2196f3;*/
    padding: 15px;
    margin: 10px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    line-height: 1.6;
}

.buttons-container button {
    margin-left: 2rem;
    border: 1px solid gray;
    border-radius: 0;
    font-size: x-small;
    width: 3.5rem;
    height: 1.5rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        z-index: 1000;
        height: 100vh;
    }
    
    .sidebar.collapsed {
        transform: translateX(-100%);
    }
    
    .main-content {
        width: 100%;
    }
    
    .section-actions {
        flex-direction: column;
        gap: 5px;
    }
    
    .input-group {
        flex-direction: column;
    }
}

/* Hidden class */
.hidden {
    display: none !important;
}
