*{box-sizing:border-box;margin:0;padding:0}:root{--primary-dark:#1d2d48;--primary-medium:#5f91c5;--primary-light:#45b3ec;--secondary-light:#e6e9ec;--secondary-lightest:#f3f3f3;--secondary-warm:#f9f1e2;--white:#fff;--text-dark:#2c3e50;--text-light:#5a6c7d;--success:#10b981;--warning:#f59e0b;--error:#ef4444}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f3f3f3;background-color:var(--secondary-lightest);color:#2c3e50;color:var(--text-dark);font-family:Plus Jakarta Sans,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}#root{min-height:100vh}.btn{border-radius:8px}.btn-primary{background-color:#45b3ec;background-color:var(--primary-light);color:var(--white)}.btn-primary:hover{background-color:#5f91c5;background-color:var(--primary-medium);box-shadow:0 4px 12px #45b3ec4d}.btn-secondary{background-color:#e6e9ec;background-color:var(--secondary-light);color:#2c3e50;color:var(--text-dark)}.btn-secondary:hover{background-color:#1d2d48;background-color:var(--primary-dark);color:#fff;color:var(--white)}.btn-success{background-color:#10b981;background-color:var(--success);color:var(--white)}.btn-danger{background-color:#ef4444;background-color:var(--error);color:var(--white)}.btn-danger:hover{background-color:#dc2626;box-shadow:0 4px 12px #ef44444d;transform:translateY(-2px)}.card{background:#fff;background:var(--white);border-radius:12px;box-shadow:0 2px 8px #0000001a;padding:1.5rem}.text-center{text-align:center}.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}.mb-4{margin-bottom:2rem}.grid{grid-gap:1.5rem;display:grid;gap:1.5rem}.grid-2{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.grid-3{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.spinner{border:3px solid #e6e9ec;border-top:3px solid #45b3ec;border:3px solid var(--secondary-light);border-top-color:var(--primary-light);margin:2rem auto}.alert-success{background-color:#d1fae5;border-left:4px solid #10b981;border-left:4px solid var(--success);color:#065f46}.alert-error{border-left:4px solid #ef4444;border-left:4px solid var(--error)}.alert-warning{background-color:#fef3c7;border-left:4px solid #f59e0b;border-left:4px solid var(--warning);color:#92400e}.login-container{align-items:center;background:linear-gradient(135deg,var(--primary-dark) 0,var(--primary-medium) 100%);display:flex;justify-content:center;min-height:100vh;padding:1rem}.login-box{background:var(--white);border-radius:16px;box-shadow:0 10px 40px #0003;max-width:450px;padding:2.5rem;width:100%}.login-header{margin-bottom:2rem;text-align:center}.login-header h1{color:var(--primary-dark);font-size:1.5rem;font-weight:400;margin-bottom:.25rem}.login-header h2{color:var(--primary-light);font-size:1.75rem;font-weight:600;margin-bottom:.5rem}.login-header p{color:var(--text-light);font-size:1rem}.login-form .form-group{margin-bottom:1.5rem}.login-form label{color:var(--text-dark);display:block;font-size:.95rem;font-weight:600;margin-bottom:.5rem}.login-form input{border:2px solid var(--secondary-light);border-radius:8px;font-family:inherit;font-size:1rem;padding:.875rem 1rem;transition:all .3s;width:100%}.login-form input:focus{border-color:var(--primary-light);box-shadow:0 0 0 3px #45b3ec1a;outline:none}.login-form input:disabled{background-color:var(--secondary-lightest);cursor:not-allowed}.btn-block{font-size:1.05rem;margin-top:.5rem;padding:1rem;width:100%}.login-footer{color:var(--text-light);font-size:.875rem;margin-top:2rem;text-align:center}.login-footer p{margin:.25rem 0}@media (max-width:480px){.login-box{padding:2rem 1.5rem}.login-header h1{font-size:1.25rem}.login-header h2{font-size:1.5rem}}.dashboard{background-color:var(--secondary-lightest);min-height:100vh}.dashboard-nav{background-color:var(--primary-dark);box-shadow:0 2px 8px #0000001a;color:var(--white)}.nav-brand h2{color:var(--primary-light);font-weight:700}.user-role{background-color:var(--primary-light);border-radius:20px;text-transform:capitalize}.dashboard-content{padding:2rem 0}.dashboard-header{margin-bottom:2rem}.dashboard-header h1{color:var(--primary-dark);font-size:2rem;margin-bottom:.5rem}.dashboard-header p{color:var(--text-light);font-size:1.1rem}.dashboard-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));margin-top:2rem}.dashboard-card{background:var(--white);border-left:4px solid;border-radius:12px;box-shadow:0 2px 8px #00000014;cursor:pointer;padding:2rem;transition:all .3s}.dashboard-card:hover{box-shadow:0 6px 20px #0000001f;transform:translateY(-4px)}.dashboard-card-blue{border-left-color:var(--primary-light)}.dashboard-card-green{border-left-color:var(--success)}.dashboard-card-purple{border-left-color:#8b5cf6}.dashboard-card-indigo{border-left-color:#6366f1}.dashboard-card-teal{border-left-color:#14b8a6}.dashboard-card-orange{border-left-color:var(--warning)}.dashboard-card-red{border-left-color:var(--error)}.dashboard-card-cyan{border-left-color:#06b6d4}.card-icon{font-size:3rem;margin-bottom:1rem}.dashboard-card h3{color:var(--primary-dark);font-size:1.25rem;margin-bottom:.5rem}.dashboard-card p{color:var(--text-light);font-size:.95rem;margin:0}.empty-state{background:var(--white);border-radius:12px;margin-top:2rem;padding:4rem 2rem}.empty-state p{color:var(--text-light);font-size:1.1rem;margin:.5rem 0}@media (max-width:768px){.nav-user{align-items:flex-end;flex-direction:column;gap:.5rem}.user-name{font-size:.9rem}.dashboard-header h1{font-size:1.5rem}.dashboard-grid{grid-template-columns:1fr}}.patients-page{background-color:var(--secondary-lightest);min-height:100vh;padding:2rem 0}.form-card h2{color:var(--primary-dark)}.patient-form .form-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:1.5rem}.patient-form .form-group{display:flex;flex-direction:column}.patient-form .full-width{grid-column:1/-1}.patient-form label{color:var(--text-dark);font-weight:600;margin-bottom:.5rem}.patient-form input,.patient-form select{border:2px solid var(--secondary-light);border-radius:8px;font-size:1rem;padding:.75rem;transition:border-color .3s}.patient-form input:focus,.patient-form select:focus{border-color:var(--primary-light);outline:none}.search-form{margin-bottom:1.5rem}.patients-table{overflow-x:auto}.patients-table table{border-collapse:collapse;width:100%}.patients-table td,.patients-table th{border-bottom:1px solid var(--secondary-light);padding:1rem;text-align:left}.patients-table th{background-color:var(--secondary-lightest);color:var(--primary-dark);font-weight:600}.patients-table tr:hover{background-color:var(--secondary-warm)}.patients-table td{color:var(--text-dark)}.form-section-divider{border-bottom:2px solid var(--primary-light);margin:2rem 0 1.5rem;padding-bottom:.75rem}.form-section-divider h3{align-items:center;color:var(--primary-dark);display:flex;font-size:1.25rem;font-weight:600;margin:0}.form-section-divider h3:before{content:"📍";font-size:1.5rem;margin-right:.5rem}.patient-form select:disabled{background-color:var(--secondary-lightest);cursor:not-allowed;opacity:.6}.modal-overlay{overflow-y:auto}.modal-content{max-width:900px}.patient-detail-section{border-bottom:1px solid var(--secondary-light);margin-bottom:1.5rem;padding-bottom:1.5rem}.patient-detail-section:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.patient-detail-section h3{border-bottom:2px solid var(--primary-light);color:var(--primary-dark);font-size:1.1rem;font-weight:600;margin:0 0 1rem;padding-bottom:.5rem}.detail-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.detail-item{display:flex;flex-direction:column;gap:.25rem}.detail-item.full-width{grid-column:1/-1}.detail-item label{color:var(--primary-medium);font-size:.875rem;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.detail-item span{background-color:var(--secondary-lightest);border-radius:6px;color:var(--text-dark);font-size:1rem;padding:.5rem}.status-active{color:var(--success)!important}.status-inactive{color:var(--error)!important}@media (max-width:768px){.page-header{align-items:flex-start;flex-direction:column;gap:1rem}.page-header-actions{flex-direction:column;width:100%}.page-header-actions .btn{width:100%}.search-form{flex-direction:column}.patients-table{font-size:.9rem}.patients-table td,.patients-table th{padding:.75rem .5rem}.modal-content{margin:.5rem;max-height:95vh}.detail-grid{grid-template-columns:1fr}.modal-footer{flex-direction:column}.modal-footer .btn{width:100%}}.input-error{background-color:#fef2f2!important;border-color:#ef4444!important}.input-error:focus{box-shadow:0 0 0 3px #ef44441a!important;outline-color:#ef4444!important}.error-message{color:#ef4444;display:block;font-size:.875rem;font-weight:500;margin-top:.25rem}.form-group{position:relative}.doctors-page{background-color:#f5f5f5;min-height:100vh;padding:2rem}.container{max-width:1400px}.page-header{border-bottom:2px solid #1d2d48;padding-bottom:1rem}.btn{transition:all .3s ease}.btn-primary:hover{background-color:#4a7ba7}.btn-secondary:hover{background-color:#545b62}.btn-success{background-color:#28a745}.btn-success:hover{background-color:#218838}.btn-warning{background-color:#ffc107;color:#212529}.btn-warning:hover{background-color:#e0a800}.btn-danger{background-color:#dc3545;color:#fff}.btn-danger:hover{background-color:#c82333}.btn-sm{font-size:.875rem}.search-form{display:flex;gap:1rem;margin-bottom:2rem}.search-input{border:1px solid #ddd;border-radius:4px;flex:1 1;padding:.75rem}.search-input:focus{border-color:#5f91c5}.form-card{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:2rem;padding:2rem}.form-card h2{color:#1d2d48;margin-bottom:1.5rem}.form-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:1.5rem}.form-group label{color:#333;font-weight:600}.form-group input:disabled{background-color:#e9ecef}.photo-upload-section{border-bottom:2px solid #e9ecef;margin-bottom:2rem;padding-bottom:2rem}.photo-upload-container{align-items:center;display:flex;gap:2rem}.photo-preview{align-items:center;background-color:#f8f9fa;border:3px solid #5f91c5;border-radius:50%;display:flex;height:150px;justify-content:center;overflow:hidden;width:150px}.photo-preview img{height:100%;object-fit:cover;width:100%}.photo-placeholder{color:#6c757d;text-align:center}.photo-placeholder span{display:block;font-size:3rem;margin-bottom:.5rem}.photo-placeholder p{font-size:.9rem;margin:0}.photo-upload-controls{flex:1 1}.form-help{color:#6c757d;display:block;font-size:.875rem;line-height:1.5;margin-top:.5rem}.specialty-selector{display:flex;flex-direction:column;gap:1rem}.specialty-dropdown{border:1px solid #ddd;border-radius:4px;font-size:1rem;padding:.75rem}.custom-specialty-input{align-items:center;background-color:#f8f9fa;border-radius:4px;display:flex;gap:.5rem;padding:1rem}.custom-specialty-input input{border:1px solid #ddd;border-radius:4px;flex:1 1;padding:.5rem}.selected-specialties{display:flex;flex-wrap:wrap;gap:.5rem;min-height:2rem}.remove-specialty{background:none;border:none;color:#fff;cursor:pointer;font-size:1.2rem;line-height:1;margin-left:.25rem;padding:0 .25rem}.remove-specialty:hover{color:#ffebee}.form-checkboxes{display:flex;gap:2rem;margin:1.5rem 0}.specialty-grid{grid-gap:.75rem;background-color:#f8f9fa;border-radius:4px;display:grid;gap:.75rem;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));padding:1rem}.checkbox-label{align-items:center;cursor:pointer;display:flex;font-weight:400;gap:.5rem}.checkbox-label input[type=checkbox]{cursor:pointer;width:auto}.form-actions{margin-top:2rem}.doctors-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(350px,1fr))}.doctor-card{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;padding:1.5rem;transition:transform .2s ease,box-shadow .2s ease}.doctor-card:hover{box-shadow:0 4px 12px #00000026;transform:translateY(-4px)}.doctor-card.inactive{background-color:#f8f9fa;opacity:.6}.doctor-photo{border:3px solid #5f91c5;border-radius:50%;height:100px;margin:0 auto 1rem;overflow:hidden;width:100px}.doctor-photo img{height:100%;object-fit:cover;width:100%}.doctor-header{align-items:flex-start;border-bottom:2px solid #e9ecef;display:flex;justify-content:space-between;margin-bottom:1rem;padding-bottom:1rem}.doctor-header h3{color:#1d2d48;font-size:1.25rem;margin:0}.status-badge{font-size:.75rem;font-weight:600;text-transform:uppercase}.status-badge.active{background-color:#d4edda;color:#155724}.status-badge.inactive{background-color:#f8d7da;color:#721c24}.doctor-info{margin-bottom:1rem}.doctor-info p{color:#555;font-size:.95rem;margin:.5rem 0}.specialties{margin:1rem 0}.specialty-tags{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}.specialty-tag{background-color:#5f91c5;color:#fff}.emergency-badge,.specialty-tag{border-radius:12px;font-size:.85rem;padding:.25rem .75rem}.emergency-badge{background-color:#ffc107;color:#212529;display:inline-block;font-weight:600;margin-top:.5rem}.schedule-summary{background-color:#e7f3ff;border-radius:4px;color:#004085;font-size:.9rem;margin-top:1rem;padding:.5rem}.doctor-actions{border-top:1px solid #e9ecef;display:flex;flex-wrap:wrap;gap:.5rem;padding-top:1rem}.modal-content{border-radius:8px;max-width:800px;width:90%}.modal-header{border-bottom:1px solid #dee2e6}.modal-header h2{color:#1d2d48}.modal-close{color:#6c757d}.modal-close:hover{color:#dc3545}.modal-body h3{color:#1d2d48}.mb-3,.modal-body h3{margin-bottom:1rem}.schedule-list{display:flex;flex-direction:column;gap:1rem}.schedule-slot{background-color:#f8f9fa;border:1px solid #dee2e6;border-radius:4px;padding:1rem}.schedule-slot-fields{display:flex;flex-direction:column;gap:1rem}.schedule-type-selector{background-color:#e7f3ff;border-radius:4px;display:flex;gap:1.5rem;padding:.75rem}.schedule-type-selector label{align-items:center;color:#1d2d48;cursor:pointer;display:flex;font-weight:500;gap:.5rem}.schedule-type-selector input[type=radio]{cursor:pointer;width:auto}.schedule-input{border:1px solid #ddd;border-radius:4px;font-size:1rem;padding:.5rem}.schedule-input:focus{border-color:#5f91c5;outline:none}.time-inputs{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:1fr 1fr}.time-inputs label{color:#333;display:flex;flex-direction:column;font-weight:600;gap:.5rem}.schedule-slot-fields .checkbox-label{margin-top:.5rem}.schedule-slot-fields .btn-danger{align-self:flex-start;margin-top:.5rem}.modal-footer{border-top:1px solid #dee2e6}.no-data{color:#6c757d;font-size:1.1rem}.loading{color:#5f91c5;font-size:1.2rem}@media (max-width:768px){.page-header{align-items:flex-start;flex-direction:column;gap:1rem}.page-header-actions{flex-direction:column;width:100%}.page-header-actions .btn{width:100%}.search-form{flex-direction:column}.doctors-grid,.form-grid{grid-template-columns:1fr}.schedule-slot-fields{flex-direction:column}.time-inputs{grid-template-columns:1fr}.schedule-type-selector{flex-direction:column;gap:.75rem}.doctor-actions{flex-direction:column}.doctor-actions .btn{width:100%}}.eye-canvas-container{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:2rem;padding:1.5rem}.canvas-header h4{color:#1d2d48;font-size:1.1rem;font-weight:600;margin:0 0 1rem}.canvas-toolbar{background:#f5f5f5;border-radius:8px;flex-wrap:wrap;gap:1rem;margin-bottom:1rem;padding:1rem}.canvas-toolbar,.toolbar-group{align-items:center;display:flex}.toolbar-group{gap:.5rem}.toolbar-group label{color:#555;font-size:.9rem;font-weight:500}.toolbar-group span{color:#666;font-size:.85rem;min-width:35px}.toolbar-group input[type=color]{border:2px solid #ddd;border-radius:4px;cursor:pointer;height:35px;width:40px}.btn-tool,.toolbar-group input[type=range]{cursor:pointer}.btn-tool{background:#fff;border:1px solid #ddd;border-radius:4px;font-size:.9rem;padding:.5rem 1rem;transition:all .2s;white-space:nowrap}.btn-tool:hover{background:#f0f0f0;border-color:#5f91c5}.btn-tool.active{background:#5f91c5;border-color:#5f91c5;color:#fff}.btn-tool.btn-danger:hover{background:#dc3545;border-color:#dc3545;color:#fff}.canvas-wrapper{margin-bottom:1rem;position:relative}.canvas-wrapper canvas{cursor:crosshair!important;will-change:contents}.canvas-wrapper *{-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.canvas-info{background:#e8f4f8;border-left:4px solid #5f91c5;border-radius:4px;padding:.75rem}.canvas-info small{display:block;line-height:1.5}@media (max-width:768px){.canvas-toolbar{align-items:stretch;flex-direction:column}.toolbar-group{justify-content:space-between;width:100%}.btn-tool{flex:1 1}.canvas-wrapper canvas{height:300px!important}}.medical-history-container{margin:0 auto;max-width:1400px;padding:2rem}.form-container{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;padding:2rem}.medical-history-form{display:flex;flex-direction:column;gap:2rem}.form-section{background:#f8f9fa;border-left:4px solid #5f91c5;border-radius:8px;padding:1.5rem}.form-section h3{color:#1d2d48;font-size:1.3rem;font-weight:600;margin:0 0 1.5rem}.form-section h4{color:#1d2d48;font-size:1.1rem;font-weight:500;margin:0 0 1rem}.form-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(2,1fr)}.form-grid.two-columns{grid-template-columns:repeat(2,1fr)}.form-group.full-width{grid-column:1/-1}.form-group input,.form-group select,.form-group textarea{border:1px solid #ddd;border-radius:4px;font-family:inherit;font-size:1rem;padding:.75rem;transition:border-color .3s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#5f91c5;box-shadow:0 0 0 3px #5f91c51a;outline:none}.form-group textarea{min-height:80px;resize:vertical}.refraction-section{margin-top:1rem}.refraction-table{background:#fff;border-collapse:collapse;border-radius:8px;box-shadow:0 1px 3px #0000001a;overflow:hidden;width:100%}.refraction-table thead{background:#1d2d48;color:#fff}.refraction-table th{font-size:.95rem;font-weight:600;padding:1rem;text-align:left}.refraction-table td{border-bottom:1px solid #eee;padding:.75rem 1rem}.refraction-table tbody tr:last-child td{border-bottom:none}.refraction-table tbody tr:hover{background-color:#f8f9fa}.refraction-table .eye-label{background-color:#f0f4f8;color:#1d2d48;font-weight:600;width:80px}.refraction-table input{border:1px solid #ddd;border-radius:4px;box-sizing:border-box;font-size:.95rem;padding:.5rem;width:100%}.refraction-table input:focus{border-color:#5f91c5;box-shadow:0 0 0 2px #5f91c51a;outline:none}.av-input-wrapper{align-items:center;display:flex;position:relative}.av-prefix{color:#666;font-weight:500;left:.5rem;pointer-events:none;position:absolute;z-index:1}.av-input{padding-left:2.5rem!important}.form-actions{border-top:2px solid #eee;padding-top:2rem}.histories-list{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;padding:2rem}.search-bar{margin-bottom:2rem}.search-bar input{border:1px solid #ddd;border-radius:4px;font-size:1rem;padding:1rem;width:100%}.search-bar input:focus{border-color:#5f91c5;box-shadow:0 0 0 3px #5f91c51a;outline:none}.table-container{overflow-x:auto}.data-table{background:#fff;border-collapse:collapse;width:100%}.data-table thead{background:#1d2d48;color:#fff}.data-table th{font-weight:600;padding:1rem;text-align:left;white-space:nowrap}.data-table td{border-bottom:1px solid #eee;padding:1rem}.data-table tbody tr:hover{background-color:#f8f9fa}.data-table small{color:#666;font-size:.85rem}.status-badge{border-radius:12px;display:inline-block;font-size:.85rem;font-weight:500;padding:.25rem .75rem;text-transform:capitalize}.status-activa{background-color:#d4edda;color:#155724}.status-completada{background-color:#cce5ff;color:#004085}.status-cancelada{background-color:#f8d7da;color:#721c24}.action-buttons{display:flex;gap:.5rem}.btn-primary:hover{background-color:#4a7aa8;box-shadow:0 4px 8px #0003;transform:translateY(-2px)}.btn-secondary:hover{background-color:#5a6268}.btn-sm{font-size:.9rem;padding:.5rem 1rem}.btn-info{background-color:#45b3ec;border:none;color:#fff}.btn-info:hover{background-color:#2a9cd9}.loading{color:#666;font-size:1.1rem;padding:3rem}.no-data{color:#999;padding:3rem;text-align:center}.no-data p{font-size:1.1rem;margin:0}@media (max-width:1024px){.form-grid,.form-grid.two-columns{grid-template-columns:1fr}}@media (max-width:768px){.medical-history-container{padding:1rem}.page-header{align-items:flex-start;flex-direction:column}.page-header-actions{flex-direction:column;width:100%}.page-header-actions .btn{width:100%}.form-container,.form-section{padding:1rem}.form-section h3{font-size:1.1rem}.form-actions{flex-direction:column}.form-actions .btn{width:100%}.histories-list{padding:1rem}.data-table{font-size:.9rem}.data-table td,.data-table th{padding:.5rem}.table-container{-webkit-overflow-scrolling:touch;overflow-x:auto}.refraction-table{font-size:.85rem}.refraction-table td,.refraction-table th{padding:.5rem}}@media (max-width:480px){.page-header h1{font-size:1.5rem}.btn{font-size:.9rem;padding:.6rem 1rem}.form-section h3{font-size:1rem}.refraction-table input{font-size:.85rem;padding:.4rem}.eye-canvas-grid{gap:1rem;grid-template-columns:1fr}}.eye-canvas-grid{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:repeat(2,1fr);margin-bottom:1.5rem}@media (max-width:1200px){.eye-canvas-grid{gap:1rem;grid-template-columns:1fr}}@media print{.btn,.form-container,.histories-list,.modal-overlay,.page-header,.search-bar{display:none!important}.modal-overlay{display:block!important;padding:0!important;position:static!important}.modal-overlay,body{background:#fff!important}body{font-size:9pt!important;margin:0;padding:0}.medical-history-container{max-width:100%;padding:0}.modal-overlay>div{box-shadow:none!important;margin:0!important;max-height:none!important;max-width:100%!important;overflow:visible!important;padding:5px 10px!important}.modal-overlay button{display:none!important}section{border:.5px solid #ddd!important;margin-bottom:6px!important;padding:4px 8px!important;page-break-inside:avoid}h2{border-bottom:1px solid #000;font-size:13pt!important;margin:0 0 4pt!important}h2,h3{color:#000;padding:0!important}h3{font-size:10pt!important;font-weight:700;margin:3pt 0 2pt!important}p{line-height:1.2!important;margin:2pt 0!important;padding:0!important}p,strong{font-size:8.5pt!important}strong{color:#000}pre{font-size:8pt!important;line-height:1.2!important;margin:2pt 0!important;padding:3pt!important}.status-badge,section[style]{background-color:#fff!important}.status-badge{border:1px solid #000;color:#000!important;font-size:8pt!important;padding:1pt 3pt!important}.modal-overlay>div:before{border-bottom:1.5px solid #000;content:"HISTORIA MÉDICA - CENTRO OFTALMOLÓGICO LOS DOS CAMINOS C.A";display:block;font-size:11pt!important;font-weight:700;margin-bottom:6pt!important;padding-bottom:3pt!important;text-align:center}@page{size:letter;margin:.8cm 1cm!important}h2,h3,p{orphans:2;widows:2}img{display:inline-block!important;margin:2pt!important;max-height:150px!important;max-width:150px!important}section:first-of-type p{display:inline-block;margin-right:1%;vertical-align:top;width:49%}div[style*=marginLeft] p{font-size:8pt!important;margin-left:10px!important}*{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}br{display:none!important}div[style*=marginTop]{margin-top:3pt!important}div[style*=paddingTop]{padding-top:3pt!important}}.profile-container{margin:0 auto;max-width:1000px;padding:2rem}.page-header{flex-wrap:wrap;gap:1rem}.page-header h1{color:#1d2d48;font-size:2rem;margin:0}.page-header-actions{align-items:center;display:flex;gap:1rem}.profile-content{display:flex;flex-direction:column;gap:2rem}.profile-card{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;padding:2rem}.profile-card h2{color:#1d2d48;font-size:1.5rem;margin:0 0 1.5rem}.card-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1.5rem}.card-header h2{margin:0}.profile-info{display:flex;flex-direction:column;gap:1.5rem}.info-row{align-items:center;border-bottom:1px solid #eee;display:flex;padding:1rem 0}.info-row:last-child{border-bottom:none}.info-label{color:#1d2d48;font-weight:600;min-width:150px}.info-value{color:#555;flex:1 1}.role-badge{background-color:#5f91c5;border-radius:20px;color:#fff;font-size:.9rem;font-weight:500;padding:.5rem 1rem}.password-form{gap:1.5rem}.form-group,.password-form{display:flex;flex-direction:column}.form-group label{color:#1d2d48;font-size:.95rem;font-weight:500;margin-bottom:.5rem}.form-group input{border:1px solid #ddd;border-radius:4px;font-family:inherit;font-size:1rem;padding:.75rem;transition:border-color .3s}.form-group input:focus{border-color:#5f91c5;box-shadow:0 0 0 3px #5f91c51a;outline:none}.form-group input:disabled{background-color:#f5f5f5;cursor:not-allowed}.form-hint{color:#666;font-size:.85rem;margin-top:.25rem}.form-actions{display:flex;gap:1rem;justify-content:flex-end;padding-top:1rem}.security-info{background-color:#f8f9fa;border-radius:4px;color:#666;font-size:.95rem;margin:0;padding:1rem}.btn{border-radius:4px;display:inline-block;font-size:1rem;font-weight:500;padding:.75rem 1.5rem;text-align:center;text-decoration:none;transition:all .3s}.btn-primary{background-color:#5f91c5}.btn-primary:hover:not(:disabled){background-color:#4a7aa8;box-shadow:0 4px 8px #0003;transform:translateY(-2px)}.btn-secondary{background-color:#6c757d}.btn-secondary:hover:not(:disabled){background-color:#5a6268}.btn:disabled{cursor:not-allowed;opacity:.6}.btn:disabled:hover{box-shadow:none;transform:none}.alert{border-radius:4px;margin-bottom:1rem}.alert-error{background-color:#f8d7da;border:1px solid #f5c6cb;color:#721c24}.alert-success{background-color:#d4edda;border:1px solid #c3e6cb;color:#155724}@media (max-width:768px){.profile-container{padding:1rem}.page-header{align-items:flex-start;flex-direction:column}.page-header-actions,.page-header-actions .btn{width:100%}.profile-card{padding:1rem}.card-header{align-items:flex-start;flex-direction:column;gap:1rem}.card-header .btn{width:100%}.info-row{align-items:flex-start;flex-direction:column;gap:.5rem}.info-label{min-width:auto}.form-actions{flex-direction:column}.form-actions .btn{width:100%}}@media (max-width:480px){.page-header h1{font-size:1.5rem}.profile-card h2{font-size:1.2rem}.btn{font-size:.9rem;padding:.6rem 1rem}}.users-page{background-color:var(--secondary-lightest);min-height:100vh;padding:2rem 0}.page-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:2rem}.page-header h1{color:var(--primary-dark);margin:0 0 .5rem}.page-header p{color:var(--text-medium);margin:0}.search-section{border-bottom:2px solid var(--secondary-light);padding:1.5rem}.search-input{border:2px solid var(--secondary-light);border-radius:8px;font-size:1rem;padding:.75rem 1rem;width:100%}.search-input:focus{border-color:var(--primary-light);outline:none}.users-table{overflow-x:auto}.users-table table{border-collapse:collapse;width:100%}.users-table td,.users-table th{border-bottom:1px solid var(--secondary-light);padding:1rem;text-align:left}.users-table th{background-color:var(--secondary-lightest);color:var(--primary-dark);font-weight:600}.users-table tr:hover{background-color:var(--secondary-warm)}.users-table td{color:var(--text-dark)}.role-badge{border-radius:12px;display:inline-block;font-size:.875rem;font-weight:600;padding:.25rem .75rem}.badge-admin{background-color:#fee2e2;color:#991b1b}.badge-doctor{background-color:#dbeafe;color:#1e40af}.badge-receptionist{background-color:#fef3c7;color:#92400e}.badge-patient{background-color:#d1fae5;color:#065f46}.status-active{color:var(--success);font-weight:600}.status-inactive{color:var(--error);font-weight:600}.text-muted{font-style:italic}.loading,.text-muted{color:var(--text-medium)}.loading{padding:2rem;text-align:center}.alert{border-radius:8px;font-weight:500;margin-bottom:1.5rem;padding:1rem}.alert-error{background-color:#fee2e2;border:1px solid #fca5a5;color:#991b1b}.modal-overlay{background-color:#000000b3}.modal-content{animation:modalSlideIn .3s ease-out;background:var(--white);border-radius:12px;box-shadow:0 10px 40px #0000004d;max-width:500px}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-50px)}to{opacity:1;transform:translateY(0)}}.modal-header{background-color:var(--primary-dark);border-bottom:2px solid var(--secondary-light);border-radius:12px 12px 0 0;color:var(--white)}.modal-close{align-items:center;background:none;border:none;border-radius:50%;color:var(--white);cursor:pointer;display:flex;font-size:2rem;height:40px;justify-content:center;padding:0;transition:background-color .3s;width:40px}.modal-close:hover{background-color:#ffffff1a}.modal-body p{margin-bottom:1rem}.user-info{background-color:var(--secondary-lightest);border-radius:8px;margin:1rem 0;padding:1rem}.user-info p{margin:.5rem 0}.warning-text{color:var(--error);font-weight:600;margin-top:1rem}.modal-footer{background-color:var(--secondary-lightest);border-radius:0 0 12px 12px;border-top:2px solid var(--secondary-light);display:flex;gap:1rem;justify-content:flex-end;padding:1.5rem}@media (max-width:768px){.page-header{align-items:flex-start;flex-direction:column;gap:1rem}.page-header button{width:100%}.users-table{font-size:.9rem}.users-table td,.users-table th{padding:.75rem .5rem}.modal-content{margin:.5rem}.modal-footer{flex-direction:column}.modal-footer .btn{width:100%}}.catalogs-page{background-color:#f5f5f5;min-height:100vh}.dashboard-nav{background-color:#2c3e50;box-shadow:0 2px 4px #0000001a;color:#fff;padding:1rem 0}.container{margin:0 auto;max-width:1200px;padding:0 1rem}.nav-content{align-items:center;display:flex;justify-content:space-between}.nav-brand h2{font-size:1.5rem;margin:0}.nav-user{align-items:center;display:flex;gap:1rem}.user-name{font-weight:600}.user-role{background-color:#fff3;border-radius:1rem;font-size:.875rem;padding:.25rem .75rem}.catalogs-content{padding:2rem 0}.catalogs-header{margin-bottom:2rem;text-align:center}.catalogs-header h1{color:#2c3e50;margin-bottom:.5rem}.catalogs-header p{color:#7f8c8d;font-size:1.1rem}.error-message{background-color:#fee;border-radius:.5rem;color:#c33;margin-bottom:1rem;padding:1rem;text-align:center}.loading-spinner{align-items:center;display:flex;flex-direction:column;justify-content:center;padding:3rem}.spinner{animation:spin 1s linear infinite;border:4px solid #f3f3f3;border-radius:50%;border-top-color:#3498db;height:40px;width:40px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.catalogs-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));margin-top:2rem}.catalog-card{background:#fff;border-radius:.5rem;box-shadow:0 2px 4px #0000001a;padding:1.5rem;text-align:center;transition:transform .2s,box-shadow .2s}.catalog-card:hover{box-shadow:0 4px 12px #00000026;transform:translateY(-4px)}.catalog-icon{font-size:3rem;margin-bottom:1rem}.catalog-card h3{color:#2c3e50;font-size:1.25rem;margin:0 0 .5rem}.catalog-size{color:#7f8c8d;font-size:.875rem;margin-bottom:1rem}.catalog-actions{display:flex;gap:.5rem;justify-content:center;margin-top:1rem}.btn{border:none;border-radius:.25rem;cursor:pointer;font-size:.875rem;font-weight:600;padding:.5rem 1rem;transition:background-color .2s,transform .1s}.btn:hover{transform:translateY(-1px)}.btn:active{transform:translateY(0)}.btn-primary{background-color:#3498db;color:#fff}.btn-primary:hover{background-color:#2980b9}.btn-success{background-color:#27ae60;color:#fff}.btn-success:hover{background-color:#229954}.btn-secondary{background-color:#95a5a6;color:#fff}.btn-secondary:hover{background-color:#7f8c8d}.btn-sm{font-size:.8125rem;padding:.375rem .75rem}.empty-state{color:#7f8c8d;padding:3rem;text-align:center}.modal-overlay{align-items:center;background-color:#00000080;bottom:0;display:flex;justify-content:center;left:0;padding:1rem;position:fixed;right:0;top:0;z-index:1000}.modal-content{background:#fff;border-radius:.5rem;box-shadow:0 4px 20px #0000004d;max-height:90vh;max-width:600px;overflow-y:auto;width:100%}.modal-header{align-items:center;border-bottom:1px solid #ecf0f1;display:flex;justify-content:space-between;padding:1.5rem}.modal-header h2{color:#2c3e50;font-size:1.5rem;margin:0}.close-btn{background:none;border:none;color:#7f8c8d;cursor:pointer;font-size:2rem;height:2rem;line-height:1;padding:0;transition:color .2s;width:2rem}.close-btn:hover{color:#2c3e50}.modal-body{padding:1.5rem}.qr-display{background-color:#f8f9fa;border-radius:.5rem;display:flex;justify-content:center;margin-bottom:1.5rem;padding:2rem}.qr-display img{border-radius:.5rem;height:auto;max-width:100%}.qr-info{background-color:#e8f4f8;border-radius:.5rem;margin-bottom:1.5rem;padding:1rem}.qr-info p{color:#2c3e50;margin:.5rem 0}.qr-instructions{border-top:1px solid #d1e7ed;color:#7f8c8d;font-style:italic;margin-top:1rem;padding-top:1rem}.qr-actions{display:flex;gap:1rem;justify-content:center}.qr-actions .btn{flex:1 1;font-size:1rem;padding:.75rem 1.5rem}@media (max-width:768px){.nav-content{flex-direction:column;gap:1rem}.nav-user{flex-wrap:wrap;justify-content:center}.catalogs-grid{grid-template-columns:1fr}.catalog-actions{flex-direction:column}.catalog-actions .btn{width:100%}.qr-actions{flex-direction:column}.qr-actions .btn{width:100%}}
/*# sourceMappingURL=main.682a8668.css.map*/