@import"https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Open+Sans:wght@400;600&display=swap";*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}.cal-root{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;background:linear-gradient(-45deg,#e0f2fe,#bae6fd,#e9ecef,#f0f9ff);background-size:400% 400%;animation:ambientBackground 15s ease infinite;font-family:Open Sans,sans-serif;overflow:hidden}.cal-controls{display:flex;gap:15px;margin-bottom:30px;align-items:center;z-index:10}.nav-btn{background:#fff;border:none;cursor:pointer;width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#1b85d3;box-shadow:0 4px 10px #0000001a;transition:all .2s ease}.nav-btn.today{width:auto;padding:0 20px;border-radius:24px;font-family:Montserrat,sans-serif;font-weight:700;font-size:14px}.nav-btn:hover{transform:translateY(-2px);box-shadow:0 6px 15px #00000026;background:#1b85d3;color:#fff}.nav-btn svg{width:20px;height:20px}.calendar-perspective-wrapper{position:relative;perspective:2500px;width:100%;max-width:850px}.spiral-container{position:absolute;top:-10px;left:5%;right:5%;display:flex;justify-content:space-between;z-index:20;pointer-events:none}.spiral-loop{display:flex;flex-direction:column;align-items:center}.spiral-wire{width:6px;height:24px;background:linear-gradient(90deg,#b0b0b0,#f0f0f0,#a0a0a0);border-radius:3px;box-shadow:1px 2px 4px #0006,inset 0 1px 2px #fffc;margin-top:-12px;z-index:2}.spiral-hole{width:14px;height:14px;background:#222;border-radius:50%;box-shadow:inset 0 2px 4px #000c;z-index:1}.calendar-card{background:#fff;border-radius:8px;box-shadow:0 20px 50px #0003,0 5px 15px #0000001a;overflow:hidden;position:relative;transform-origin:top center;transition:transform .4s cubic-bezier(.4,0,.2,1),filter .4s;backface-visibility:hidden;transform-style:preserve-3d}.calendar-card.flip-start{transform:rotateX(90deg) scale(.95);filter:brightness(.6);transition-duration:.4s;transition-timing-function:cubic-bezier(.55,.085,.68,.53)}.calendar-card.flip-middle{transform:rotateX(-90deg) scale(.95);filter:brightness(.6);transition:none}.hero{position:relative;height:380px;width:100%}.hero-img-wrap{width:100%;height:100%;overflow:hidden}.hero-img{width:100%;height:100%;object-fit:cover;object-position:center}.hero-geometric{position:absolute;bottom:-1px;left:0;width:100%;height:140px;z-index:2;display:flex;align-items:flex-end;justify-content:flex-end;padding:0 40px 30px 0}.geometric-poly{position:absolute;bottom:0;left:0;width:100%;height:100%;fill:#1b85d3;z-index:-1}.hero-titles{text-align:right;color:#fff;font-family:Montserrat,sans-serif;text-shadow:0 2px 10px rgba(0,0,0,.1)}.hero-year{font-size:24px;font-weight:400;letter-spacing:2px;margin-bottom:-5px}.hero-month{font-size:42px;font-weight:800;letter-spacing:1px;line-height:1}.cal-body{display:flex;padding:30px 40px 50px;gap:40px;background:#fff}.notes-section{flex:0 0 220px;padding-top:10px}.notes-heading{font-family:Montserrat,sans-serif;font-size:16px;font-weight:700;color:#333;margin-bottom:25px}.notes-lines{display:flex;flex-direction:column;gap:15px}.note-line{border:none;border-bottom:1px solid #dcdcdc;padding:5px 0;font-family:Open Sans,sans-serif;font-size:16px;font-weight:600;color:#333;background:transparent;outline:none;transition:border-color .3s}.note-line:focus{border-bottom-color:#1b85d3}.range-indicator{margin-top:20px}.clear-btn{background:#f1f5f9;color:#64748b;border:none;padding:8px 16px;border-radius:4px;font-size:12px;font-weight:600;cursor:pointer;transition:all .2s;width:100%}.clear-btn:hover{background:#e2e8f0;color:#0f172a}.grid-section{flex:1}.day-names{display:grid;grid-template-columns:repeat(7,1fr);margin-bottom:15px;border-bottom:1px solid transparent}.day-name{text-align:center;font-family:Montserrat,sans-serif;font-size:12px;font-weight:700;color:#333;letter-spacing:.5px}.day-name.weekend{color:#1b85d3}.days-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:8px}.day-cell{aspect-ratio:1;display:flex;align-items:center;justify-content:center;border-radius:50%;cursor:pointer;transition:all .2s ease;position:relative;z-index:1;font-family:Montserrat,sans-serif;font-size:16px;font-weight:600;color:#444}.day-cell.other-month{color:#e2e2e2;font-weight:400}.day-cell.weekend-day{color:#1b85d3}.day-cell.other-month.weekend-day{color:#1b85d34d}.day-number{z-index:2}.day-cell:not(.other-month):hover{background:#1b85d31a;transform:scale(1.1)}.day-cell.today:hover,.day-cell.range-start:hover,.day-cell.range-end:hover{background:#156da8}.day-cell.today{background:#1b85d3;color:#fff;box-shadow:0 4px 10px #1b85d34d}.day-cell.range-start,.day-cell.range-end{background:#1b85d3;color:#fff;font-weight:700}.day-cell.in-range,.day-cell.in-range-hover{background:#1b85d326;border-radius:0;color:#1b85d3}.day-cell.range-start{border-top-right-radius:0;border-bottom-right-radius:0}.day-cell.range-end{border-top-left-radius:0;border-bottom-left-radius:0}.day-cell.range-start.range-end{border-radius:50%}.note-badge{position:absolute;top:4px;right:4px;background:#ff5e5e;color:#fff;border-radius:50%;width:16px;height:16px;font-size:10px;display:flex;align-items:center;justify-content:center;font-weight:700;pointer-events:none;z-index:5;box-shadow:0 2px 4px #0003}.holiday-dot{position:absolute;bottom:6px;width:5px;height:5px;border-radius:50%;pointer-events:none}.holiday-dot.public{background:#ff5e5e;width:6px;height:6px;box-shadow:0 0 5px #ff5e5e80}.holiday-dot.important{background:#1b85d3}.day-cell[data-holiday]:after{content:attr(data-holiday);position:absolute;bottom:120%;left:50%;transform:translate(-50%) translateY(10px);background:#333;color:#fff;padding:4px 8px;border-radius:4px;font-size:10px;white-space:nowrap;opacity:0;visibility:hidden;transition:all .2s;z-index:20;box-shadow:0 4px 10px #0003}.day-cell[data-holiday]:hover:after{opacity:1;visibility:visible;transform:translate(-50%) translateY(0)}.note-actions{display:flex;flex-direction:column;gap:10px}.save-btn{background:#1b85d3;color:#fff}.save-btn:hover{background:#156da8;color:#fff}.clear-btn-secondary{background:#f1f5f9;color:#64748b}.modal-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:9999;animation:fadeIn .3s ease forwards}.modal-content{background:#fff;padding:30px;border-radius:8px;max-width:400px;text-align:center;box-shadow:0 10px 30px #0003;font-family:Open Sans,sans-serif;animation:scaleUp .3s ease forwards}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes scaleUp{0%{transform:scale(.9);opacity:0}to{transform:scale(1);opacity:1}}.modal-content h4{font-family:Montserrat,sans-serif;color:#333;margin-bottom:15px;font-size:20px}.modal-content p{color:#555;margin-bottom:25px;line-height:1.5}.modal-close-btn{background:#1b85d3;color:#fff;border:none;padding:10px 24px;border-radius:4px;font-weight:600;cursor:pointer;transition:background .2s}.modal-close-btn:hover{background:#156da8}.success-icon{width:50px;height:50px;background:#22c55e;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:24px;margin:0 auto 20px;animation:popIn .4s cubic-bezier(.175,.885,.32,1.275) forwards}.success-btn{background:#22c55e}.success-btn:hover{background:#16a34a}@keyframes popIn{0%{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}@keyframes ambientBackground{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}.mobile-scroll-btn{display:none}@media(max-width:768px){.cal-root{padding:15px}.mobile-scroll-btn{display:block;position:absolute;bottom:15px;left:20px;background:#fff;color:#1b85d3;border:none;padding:8px 16px;border-radius:20px;font-family:Montserrat,sans-serif;font-weight:700;font-size:12px;z-index:5;box-shadow:0 4px 10px #0003}.cal-body{flex-direction:column;padding:20px;gap:30px}.cal-controls{margin-bottom:20px}.grid-section{order:1}.notes-section{order:2;flex:auto;width:100%}.spiral-container{left:10%;right:10%}.spiral-loop:nth-child(2n){display:none}.hero{height:250px}.hero-geometric{height:100px;padding:0 20px 20px 0}.hero-month{font-size:32px}.day-cell{font-size:14px}}.monthly-summary{width:100%;max-width:850px;margin-top:40px;background:#fffc;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:12px;padding:30px;box-shadow:0 10px 30px #0000000d;border:1px solid rgba(255,255,255,.3);animation:slideBottom .6s ease-out}@keyframes slideBottom{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.summary-header h3{font-family:Montserrat,sans-serif;font-size:20px;font-weight:700;color:#1b85d3;margin-bottom:25px;border-bottom:2px solid #e0f2fe;padding-bottom:10px;display:inline-block}.summary-content{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px}.summary-item{background:#fff;padding:15px;border-radius:8px;border-left:4px solid #1b85d3;box-shadow:0 4px 6px #00000005;transition:transform .2s}.summary-item:hover{transform:translateY(-3px);box-shadow:0 6px 12px #0000000d}.summary-date{font-family:Montserrat,sans-serif;font-weight:800;font-size:13px;color:#1b85d3;margin-bottom:8px;text-transform:uppercase}.summary-text{display:flex;flex-direction:column;gap:4px}.summary-text-line{font-size:14px;color:#444;line-height:1.4;font-family:Open Sans,sans-serif}.no-summary{grid-column:1 / -1;text-align:center;color:#94a3b8;font-style:italic;padding:20px}@media(max-width:768px){.monthly-summary{padding:20px;margin-top:20px}}.back-to-top{position:fixed;bottom:30px;right:30px;width:50px;height:50px;background:#1b85d3;color:#fff;border:none;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 15px #1b85d366;opacity:0;visibility:hidden;transform:translateY(20px);transition:all .3s cubic-bezier(.175,.885,.32,1.275);z-index:1000}.back-to-top.visible{opacity:1;visibility:visible;transform:translateY(0)}.back-to-top:hover{background:#156da8;transform:scale(1.1);box-shadow:0 6px 20px #1b85d380}.back-to-top svg{width:24px;height:24px}@media(max-width:768px){.back-to-top{bottom:20px;right:20px;width:44px;height:44px}}
