:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box;margin:0;padding:0}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}#root{width:100%;margin:0 auto;text-align:center}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}}.signin-container{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;background:linear-gradient(135deg,#1fb8a6,#0066a6);padding:20px;gap:24px}.signin-logo{width:140px;height:140px;border-radius:28px;box-shadow:0 10px 40px #0000004d}.signin-card{background:#fff;border-radius:16px;padding:48px 40px;box-shadow:0 20px 60px #0000004d;text-align:center;max-width:400px;width:100%}.signin-card h1{margin:0 0 8px;color:#1a202c;font-size:32px;font-weight:700}.signin-subtitle{margin:0 0 40px;color:#718096;font-size:16px}.google-signin-button{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;padding:12px 24px;background:#fff;border:2px solid #e2e8f0;border-radius:8px;font-size:16px;font-weight:600;color:#1a202c;cursor:pointer;transition:all .2s;font-family:inherit}.google-signin-button:hover:not(:disabled){background:#f7fafc;border-color:#cbd5e0;box-shadow:0 4px 12px #0000001a}.google-signin-button:active:not(:disabled){transform:scale(.98)}.google-signin-button:disabled{opacity:.6;cursor:not-allowed}.google-icon{width:20px;height:20px}.error-message{margin-top:20px;padding:12px;background:#fff5f5;border:1px solid #feb2b2;border-radius:8px;color:#c53030;font-size:14px}.cruise-card-link{text-decoration:none;color:inherit;display:block}.cruise-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 2px 8px #0000001a;transition:transform .2s,box-shadow .2s}.cruise-card-link:hover .cruise-card{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.cruise-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem;gap:1rem}.cruise-name{margin:0;font-size:1.25rem;color:#1a202c;font-weight:600;flex:1}.cruise-card-badges{display:flex;gap:.5rem;flex-wrap:wrap}.sync-badge{font-size:.75rem;color:#f59e0b;background:#fffbeb;border:1px solid #fcd34d;padding:.25rem .5rem;border-radius:12px;white-space:nowrap;animation:pulse 2s ease-in-out infinite}.passenger-count{font-size:.875rem;color:#718096;background:#edf2f7;padding:.25rem .75rem;border-radius:12px;white-space:nowrap}.cruise-details{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.cruise-detail-row{display:flex;gap:.5rem;font-size:.875rem}.detail-label{color:#718096;font-weight:500;min-width:90px}.detail-value{color:#2d3748}.cruise-passengers{display:flex;gap:.5rem;padding-top:1rem;border-top:1px solid #e2e8f0}.passenger-avatar{width:32px;height:32px;border-radius:50%;object-fit:cover;border:2px solid white;box-shadow:0 1px 3px #0003}.passenger-avatar:not(:first-child){margin-left:-8px}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.modal-content{background:#fff;border-radius:12px;width:100%;max-width:500px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.modal-header h2{margin:0;font-size:1.5rem;color:#1a202c}.modal-close{background:none;border:none;font-size:2rem;color:#718096;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background .2s}.modal-close:hover{background:#f7fafc}.cruise-form{padding:1.5rem;display:flex;flex-direction:column;gap:1.25rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{font-size:.875rem;font-weight:500;color:#2d3748}.form-group input{padding:.75rem;border:1px solid #e2e8f0;border-radius:6px;font-size:1rem;color:#1a202c;transition:border-color .2s,box-shadow .2s}.form-group input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.error-message{padding:.75rem;background:#fff5f5;border:1px solid #fc8181;border-radius:6px;color:#c53030;font-size:.875rem}.form-actions{display:flex;gap:1rem;padding-top:.5rem}.btn-primary,.btn-secondary{flex:1;padding:.75rem 1.5rem;border-radius:6px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s;border:none}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.btn-primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #667eea66}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.btn-secondary{background:#f7fafc;color:#4a5568;border:1px solid #e2e8f0}.btn-secondary:hover:not(:disabled){background:#edf2f7;border-color:#cbd5e0}.btn-secondary:disabled{opacity:.6;cursor:not-allowed}@media(max-width:640px){.form-row{grid-template-columns:1fr}}.cruise-list-container{width:100%;max-width:1200px;margin:0 auto}.cruise-list-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.cruise-list-header h2{margin:0;font-size:1.875rem;color:#1a202c;font-weight:700}.btn-add-cruise{padding:.75rem 1.5rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s;box-shadow:0 2px 8px #667eea4d}.btn-add-cruise:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.cruise-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.5rem}.cruise-list-loading,.cruise-list-error{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 2rem;text-align:center}.cruise-list-loading .spinner{width:48px;height:48px;border:4px solid #e2e8f0;border-top:4px solid #667eea;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:1rem}.cruise-list-loading p{color:#718096;font-size:1rem}.cruise-list-error h2{color:#1a202c;margin-bottom:.5rem}.cruise-list-error p{color:#718096;margin-bottom:1.5rem}.cruise-list-empty{display:flex;align-items:center;justify-content:center;padding:4rem 2rem}.empty-state{text-align:center;max-width:400px}.empty-icon{width:80px;height:80px;color:#cbd5e0;margin:0 auto 1.5rem}.empty-state h3{font-size:1.5rem;color:#1a202c;margin:0 0 .5rem}.empty-state p{color:#718096;font-size:1rem;margin:0 0 2rem;line-height:1.5}.btn-primary{padding:.75rem 1.5rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s;box-shadow:0 2px 8px #667eea4d}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}@media(max-width:768px){.cruise-list-header{flex-direction:column;align-items:flex-start;gap:1rem}.btn-add-cruise{width:100%}.cruise-grid{grid-template-columns:1fr}}.activity-card{background:#f7fafc;border-radius:8px;padding:1rem;margin-bottom:.75rem;border-left:4px solid #cbd5e0;transition:all .2s;cursor:pointer}.activity-card:hover{background:#edf2f7;transform:translate(2px)}.activity-card.active{background:linear-gradient(135deg,#fffbeb,#fef3c7);border-left-color:#f59e0b;animation:pulse-glow 2s ease-in-out infinite}@keyframes pulse-glow{0%,to{box-shadow:0 2px 4px #f59e0b1a}50%{box-shadow:0 4px 12px #f59e0b4d}}.activity-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem;flex-wrap:wrap}.activity-type{display:flex;align-items:center;gap:.5rem;padding:.375rem .75rem;border-radius:12px;font-size:.875rem;font-weight:500}.activity-icon{font-size:1rem}.activity-type-label{font-weight:600}.active-badge{background:#f59e0b;color:#fff;padding:.25rem .625rem;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.sync-badge{font-size:.75rem;color:#f59e0b;margin-left:auto}.activity-name{margin:0 0 .75rem;font-size:1.125rem;color:#1a202c;font-weight:600}.activity-time{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem;font-size:.875rem;flex-wrap:wrap}.time-label{color:#718096;font-weight:500}.time-value{color:#2d3748;font-weight:600}.time-separator{color:#a0aec0;margin:0 .25rem}.activity-detail{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:#4a5568;margin-bottom:.5rem}.detail-icon{font-size:1rem}.end-activity-button{width:100%;margin-top:1rem;background:#ef4444;color:#fff;border:none;padding:.75rem 1rem;border-radius:6px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s}.end-activity-button:hover:not(:disabled){background:#dc2626;transform:translateY(-1px);box-shadow:0 4px 8px #ef44444d}.end-activity-button:disabled{opacity:.6;cursor:not-allowed}.add-activity-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.add-activity-modal{background:#fff;border-radius:12px;max-width:600px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0000004d}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #e2e8f0}.modal-header h3{margin:0;font-size:1.5rem;color:#1a202c}.close-button{background:none;border:none;font-size:2rem;color:#a0aec0;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s}.close-button:hover{background:#f7fafc;color:#4a5568}.activity-form{padding:1.5rem}.form-group{margin-bottom:1.25rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:500;color:#2d3748;font-size:.875rem}.form-group input,.form-group textarea{width:100%;padding:.75rem;border:1px solid #cbd5e0;border-radius:6px;font-size:.875rem;transition:border-color .2s;background:#fff;color:#2d3748}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-group textarea{resize:vertical;font-family:inherit}.type-selector{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:.5rem}.type-button{display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:.75rem .5rem;border:2px solid #e2e8f0;background:#fff;border-radius:8px;cursor:pointer;transition:all .2s}.type-button:hover{border-color:#cbd5e0;background:#f7fafc}.type-button.selected{border-color:#667eea;background:#eef2ff}.type-icon{font-size:1.5rem}.type-label{font-size:.75rem;font-weight:600;color:#4a5568}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.error-message{background:#fee;border:1px solid #fcc;color:#c00;padding:.75rem;border-radius:6px;margin-bottom:1rem;font-size:.875rem}.form-actions{display:flex;gap:.75rem;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #e2e8f0}.cancel-button,.submit-button,.delete-button{flex:1;padding:.75rem 1.5rem;border-radius:6px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s;border:none}.cancel-button{background:#f7fafc;color:#4a5568;border:1px solid #e2e8f0}.cancel-button:hover{background:#edf2f7}.submit-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.submit-button:hover:not(:disabled){opacity:.9;transform:translateY(-1px);box-shadow:0 4px 12px #667eea66}.submit-button:disabled{opacity:.6;cursor:not-allowed}.delete-button{background:#ef4444;color:#fff}.delete-button:hover:not(:disabled){background:#dc2626;transform:translateY(-1px);box-shadow:0 4px 12px #ef444466}.delete-button:disabled{opacity:.6;cursor:not-allowed}@media(max-width:640px){.type-selector{grid-template-columns:repeat(3,1fr)}}.confirm-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.confirm-dialog{background:#fff;border-radius:12px;max-width:500px;width:100%;padding:2rem;box-shadow:0 20px 60px #0000004d}.confirm-title{margin:0 0 1rem;font-size:1.5rem;color:#1a202c;font-weight:700}.confirm-message{margin:0 0 1.5rem;color:#4a5568;line-height:1.6;font-size:.9375rem}.confirm-actions{display:flex;gap:.75rem;justify-content:flex-end}.confirm-cancel,.confirm-button{padding:.75rem 1.5rem;border-radius:6px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s;border:none}.confirm-cancel{background:#f7fafc;color:#4a5568;border:1px solid #e2e8f0}.confirm-cancel:hover{background:#edf2f7}.confirm-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.confirm-button.danger{background:#ef4444}.confirm-button:hover{opacity:.9;transform:translateY(-1px);box-shadow:0 4px 12px #00000026}.confirm-button.danger:hover{box-shadow:0 4px 12px #ef444466}.itinerary-day{background:#fff;border-radius:8px;padding:1.5rem;margin-bottom:1rem;box-shadow:0 1px 4px #0000001a;transition:box-shadow .2s;position:relative}.itinerary-day:hover{box-shadow:0 2px 8px #00000026}.day-header{display:flex;align-items:center;gap:1rem;margin-bottom:1rem}.day-number-badge{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:.5rem 1rem;border-radius:20px;font-weight:600;font-size:.875rem;white-space:nowrap}.day-date{font-size:1.125rem;color:#2d3748;font-weight:500}.day-type{display:flex;align-items:center;gap:.75rem;padding:1rem;background:#f7fafc;border-radius:6px;border-left:4px solid #3b82f6;margin-bottom:1rem}.day-type-icon{font-size:1.5rem}.day-type-label{font-weight:600;color:#2d3748}.port-name{color:#4a5568;margin-left:auto;font-style:italic}.day-activities{margin-top:1rem;padding-top:1rem;border-top:1px solid #e2e8f0}.activities-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.activities-header h4{margin:0;font-size:1rem;color:#2d3748;font-weight:600}.add-activity-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.add-activity-button:hover{opacity:.9;transform:translateY(-1px);box-shadow:0 4px 8px #667eea4d}.loading-activities,.no-activities{text-align:center;color:#a0aec0;font-style:italic;margin:0;padding:1rem;font-size:.875rem}.activities-list{margin-top:.75rem}.sync-badge{position:absolute;top:1rem;right:1rem;font-size:.75rem;color:#f59e0b;background:#fffbeb;border:1px solid #fcd34d;padding:.25rem .5rem;border-radius:12px;white-space:nowrap;animation:pulse 2s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}.edit-day-button{margin-left:auto;background:transparent;border:1px solid #e2e8f0;padding:.375rem .625rem;border-radius:6px;cursor:pointer;font-size:1rem;transition:all .2s;display:flex;align-items:center;justify-content:center}.edit-day-button:hover{background:#f7fafc;border-color:#cbd5e0;transform:translateY(-1px)}.cruise-detail{max-width:1400px;margin:0 auto;padding:.25rem}@media(min-width:768px){.cruise-detail{padding:.75rem}}@media(min-width:1024px){.cruise-detail{padding:1.5rem}}.cruise-detail.loading,.cruise-detail.error{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:300px;gap:1rem}.cruise-detail-header{margin-bottom:2rem}.back-button{background:transparent;border:1px solid #e2e8f0;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-size:.875rem;color:#4a5568;margin-bottom:1rem;transition:all .2s}.back-button:hover{background:#f7fafc;border-color:#cbd5e0}.cruise-title{margin:0;font-size:2rem;color:#1a202c;font-weight:700}.cruise-info-section,.itinerary-section{background:#fff;border-radius:8px;padding:1rem;margin-bottom:.5rem;box-shadow:0 2px 8px #0000001a}@media(min-width:768px){.cruise-info-section,.itinerary-section{padding:1.25rem;margin-bottom:1rem}}@media(min-width:1024px){.cruise-info-section,.itinerary-section{padding:1.5rem;margin-bottom:2rem}}.cruise-info-section h3,.itinerary-section h3{margin:0;font-size:1.25rem;color:#2d3748;font-weight:600}.itinerary-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:.5rem;border-bottom:2px solid #e2e8f0}.generate-itinerary-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:.625rem 1.25rem;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:opacity .2s,transform .2s}.generate-itinerary-button:hover:not(:disabled){opacity:.9;transform:translateY(-1px)}.generate-itinerary-button:disabled{opacity:.6;cursor:not-allowed}.itinerary-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem;gap:1rem}.itinerary-days{margin-top:1rem}.error-message{background:#fee;border:1px solid #fcc;color:#c00;padding:.75rem 1rem;border-radius:6px;margin-bottom:1rem;font-size:.875rem}.cruise-info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem}.info-item{display:flex;flex-direction:column;gap:.25rem}.info-label{font-size:.875rem;color:#718096;font-weight:500}.info-value{font-size:1rem;color:#2d3748;font-weight:400}.placeholder-text{color:#a0aec0;font-style:italic;text-align:center;padding:2rem;margin:0}.spinner{border:3px solid #f3f4f6;border-top-color:#3b82f6;border-radius:50%;width:40px;height:40px;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.app{min-height:100vh;display:flex;flex-direction:column}.app.loading{justify-content:center;align-items:center;gap:1rem}.spinner{width:40px;height:40px;border:4px solid #f3f3f3;border-top:4px solid #667eea;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.app-header{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:1rem 2rem;background:#fff;border-bottom:1px solid #e2e8f0;box-shadow:0 1px 3px #0000001a;gap:1rem}.header-left{display:flex;align-items:center}.app-icon{width:40px;height:40px;object-fit:contain}.header-center{display:flex;justify-content:center}.app-header h1{margin:0;font-size:1.5rem;color:#1a202c}.header-right{display:flex;justify-content:flex-end;position:relative}.user-avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;cursor:pointer;transition:all .2s;border:2px solid transparent}.user-avatar:hover{border-color:#667eea;transform:scale(1.05)}.user-popover{position:absolute;top:calc(100% + .5rem);right:0;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 6px #0000001a,0 2px 4px #0000000f;padding:1rem;min-width:200px;z-index:1000;display:flex;flex-direction:column;gap:.75rem}.popover-user-name{font-size:.875rem;font-weight:600;color:#1a202c;padding-bottom:.5rem}.popover-logout-button{padding:.5rem 1rem;background:#f7fafc;border:1px solid #e2e8f0;border-radius:6px;font-size:.875rem;font-weight:500;color:#4a5568;cursor:pointer;transition:all .2s;width:100%}.popover-logout-button:hover{background:#edf2f7;border-color:#cbd5e0}.popover-divider{height:1px;background:#e2e8f0;margin:.25rem 0}.popover-build-info{font-size:.75rem;color:#a0aec0;font-family:monospace;text-align:center}.popover-reload-button{font-size:.75rem;padding:.375rem .75rem;background:#f7fafc;border:1px solid #e2e8f0;border-radius:4px;color:#4a5568;cursor:pointer;transition:all .2s;font-family:monospace;width:100%}.popover-reload-button:hover{background:#edf2f7;border-color:#cbd5e0;transform:translateY(-1px)}.popover-reload-button:active{transform:translateY(0)}.app-main{flex:1;padding:4px;background:#f7fafc}@media(min-width:768px){.app-main{padding:.5rem}}@media(min-width:1024px){.app-main{padding:1rem}}.app-footer{padding:.75rem 2rem;background:#fff;border-top:1px solid #e2e8f0;display:flex;justify-content:center;align-items:center;gap:1rem;flex-wrap:wrap}.build-info{font-size:.75rem;color:#a0aec0;font-family:monospace}.force-refresh-button{font-size:.75rem;padding:.25rem .5rem;background:#f7fafc;border:1px solid #e2e8f0;border-radius:4px;color:#4a5568;cursor:pointer;transition:all .2s;font-family:monospace}.force-refresh-button:hover{background:#edf2f7;border-color:#cbd5e0;transform:translateY(-1px)}.force-refresh-button:active{transform:translateY(0)}
