.fote-main{
  font-family:Inter,Arial,sans-serif;
  background:#fff;
  color:#1f2937;
}

.fote-container{
  max-width:1180px;
  margin:0 auto;
  padding:0 20px;
}

.fote-hero,
.fote-how,
.fote-cta{
  max-width:1180px;
  margin:30px auto 0;
  padding:75px 20px;
  text-align:center;
  color:#fff;
  background:linear-gradient(135deg,#5b7cfa,#7b3fd1);
}

.fote-hero h1,
.fote-how h2,
.fote-cta h2{
  color:#fff!important;
  font-size:46px;
  line-height:1.12;
  margin:0 0 18px;
  font-weight:800;
}

.fote-hero p,
.fote-cta p{
  color:#f3f4ff!important;
  max-width:720px;
  margin:0 auto;
  font-size:18px;
  line-height:1.7;
}

.fote-editor-area{
  max-width:1180px;
  margin:0 auto 70px;
  background:#fff;
  border:1px solid #e5e7eb;
  box-shadow:0 18px 45px rgba(15,23,42,.08);
}

.fote-note-bar{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 18px;
  border-bottom:1px solid #e5e7eb;
}

.fote-note-icon,
.fote-new-btn{
  background:#7c3aed;
  color:#fff;
  border:0;
  border-radius:10px;
  padding:10px 14px;
  font-weight:700;
  cursor:pointer;
}

#foteNoteName{
  flex:1;
  padding:12px 16px;
  border:1px solid #d1d5db;
  border-radius:8px;
  font-size:15px;
  outline:none;
}

#foteNoteName:focus{
  border-color:#7c3aed;
  box-shadow:0 0 0 3px rgba(124,58,237,.12);
}

.fote-new-btn{
  margin-left:auto;
}

.fote-toolbar{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  padding:14px 18px;
  border-bottom:1px solid #e5e7eb;
  background:#fff;
  position:relative;
}

.fote-toolbar button,
.fote-toolbar select,
#foteSize{
  border:1px solid #d1d5db;
  background:#fff;
  border-radius:8px;
  padding:9px 12px;
  cursor:pointer;
  font-size:14px;
}

.fote-toolbar button:hover{
  background:#7c3aed;
  color:#fff;
}

#foteSize{
  width:78px;
  text-align:center;
  cursor:text;
}

.fote-paper-wrap{
  background:
    linear-gradient(#e9eef6 1px,transparent 1px),
    linear-gradient(90deg,#e9eef6 1px,transparent 1px);
  background-size:18px 18px;
  background-color:#f3f6fb;
  padding:38px 20px;
}

.fote-paper{
  max-width:760px;
  min-height:620px;
  margin:0 auto;
  background:#fff;
  padding:55px;
  outline:none;
  line-height:1.8;
  font-size:16px;
  box-shadow:0 8px 25px rgba(15,23,42,.08);
}

.fote-stats{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
  padding:12px 18px;
  font-size:13px;
  color:#6b7280;
  border-top:1px solid #e5e7eb;
}

.fote-saved{
  color:#16a34a;
  font-weight:700;
}

.fote-section{
  max-width:1180px;
  margin:0 auto 80px;
  padding:0 20px;
}

.fote-section h2{
  text-align:center;
  font-size:36px;
  color:#111827;
  margin:0 0 36px;
  font-weight:800;
}

.fote-section h2 span{
  color:#7c3aed;
}

.fote-tools-grid{
  max-width:760px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:14px;
}

.fote-tool-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-top:5px solid #0787b8;
  border-radius:10px;
  padding:18px 12px;
  text-align:center;
  text-decoration:none;
  color:#111827;
  box-shadow:0 8px 22px rgba(15,23,42,.08);
  transition:.3s;
}

.fote-tool-card:hover{
  transform:translateY(-5px);
}

.fote-tool-card span{
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 10px;
  border-radius:10px;
  background:#0787b8;
  color:#fff;
}

.fote-tool-card p{
  margin:0;
  font-size:12px;
  line-height:1.4;
  font-weight:600;
}

.fote-card-grid{
  max-width:900px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.fote-info-card{
  background:#fff;
  padding:32px 24px;
  text-align:center;
  border-radius:12px;
  border:1px solid #e5e7eb;
  box-shadow:0 10px 28px rgba(15,23,42,.08);
}

.fote-info-card div{
  font-size:30px;
  margin-bottom:18px;
}

.fote-info-card h3{
  font-size:22px;
  margin:0 0 12px;
  color:#111827;
}

.fote-info-card p{
  margin:0;
  color:#6b7280;
  line-height:1.7;
}

.fote-how{
  margin:0 auto 80px;
}

.fote-how-grid{
  max-width:900px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

.fote-how-grid div{
  background:#fff;
  padding:30px 20px;
  border-radius:12px;
}

.fote-how-grid span{
  font-size:30px;
}

.fote-how-grid h3{
  font-size:20px;
  margin:16px 0 10px;
  color:#111827;
}

.fote-how-grid p{
  margin:0;
  color:#6b7280;
  line-height:1.6;
}

.fote-faq{
  max-width:760px;
  margin:0 auto;
}

.fote-faq-item{
  background:#fbfaff;
  border:1px solid #e5e7eb;
  border-radius:10px;
  margin-bottom:12px;
  overflow:hidden;
  box-shadow:0 8px 20px rgba(15,23,42,.06);
}

.fote-faq-item button{
  width:100%;
  border:0;
  background:transparent;
  padding:18px 20px;
  display:flex;
  justify-content:space-between;
  cursor:pointer;
  font-weight:700;
  color:#4f46e5;
  text-align:left;
}

.fote-faq-item p{
  display:none;
  margin:0;
  padding:0 20px 18px;
  color:#6b7280;
  line-height:1.7;
}

.fote-faq-item.active p{
  display:block;
}

.fote-cta{
  margin:0 auto 50px;
}

.fote-cta a{
  display:inline-block;
  background:#fff;
  color:#5b5eea;
  text-decoration:none;
  padding:14px 26px;
  border-radius:999px;
  font-weight:700;
}

/* Insert Menu */
.fote-insert-wrap,
.fote-color-wrap{
  position:relative;
  display:inline-flex;
}

.fote-insert-menu,
.fote-color-panel{
  display:none;
  position:absolute;
  top:45px;
  left:0;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:12px;
  box-shadow:0 18px 45px rgba(15,23,42,.18);
  padding:10px;
  z-index:99999;
}

.fote-insert-menu{
  width:230px;
}

.fote-insert-menu.active{
  display:block;
}

.fote-insert-menu button{
  width:100%;
  display:block;
  text-align:left;
  border:0;
  background:#fff;
  padding:12px 14px;
  border-radius:10px;
  color:#111827;
}

.fote-insert-menu button:hover{
  background:#f3f4f6;
  color:#111827;
}

/* Color Panel */
.fote-color-panel{
  width:178px;
  grid-template-columns:repeat(5,24px);
  gap:8px;
}

.fote-color-panel.active{
  display:grid!important;
}

.fote-color-swatch,
.fote-color-panel button{
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  padding:0!important;
  border-radius:5px!important;
  border:1px solid #ccc!important;
  cursor:pointer!important;
}

.fote-custom-color{
  grid-column:1 / -1;
  width:100%;
  height:34px;
  border:1px solid #d1d5db;
  border-radius:8px;
  padding:3px;
}

/* Inserted Elements */
.fote-table{
  width:100%;
  border-collapse:collapse;
  margin:18px 0;
}

.fote-table td{
  border:1px solid #d1d5db;
  padding:10px;
  min-width:80px;
}

.fote-columns{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin:18px 0;
}

.fote-columns > div{
  border:1px dashed #d1d5db;
  padding:14px;
  min-height:80px;
}

.fote-page-break{
  border:0;
  border-top:2px dashed #9ca3af;
  margin:28px 0;
}

.fote-sticky-note{
  background:#fff7cc;
  border-left:5px solid #f59e0b;
  padding:14px;
  margin:18px 0;
  border-radius:8px;
}

/* Responsive */
@media(max-width:900px){
  .fote-tools-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .fote-card-grid,
  .fote-how-grid{
    grid-template-columns:1fr;
  }

  .fote-hero h1,
  .fote-how h2,
  .fote-cta h2{
    font-size:34px;
  }

  .fote-paper{
    min-height:460px;
    padding:30px;
  }

  .fote-toolbar{
    flex-wrap:nowrap;
    overflow-x:auto;
  }

  .fote-note-bar{
    flex-wrap:wrap;
  }

  #foteNoteName{
    min-width:180px;
  }
}
.fote-paper ul{
  list-style-type: disc !important;
  padding-left: 25px !important;
  margin: 10px 0 !important;
}

.fote-paper ol{
  padding-left: 25px !important;
  margin: 10px 0 !important;
}
.fote-style-wrap{
  position:relative;
  display:inline-flex;
}

.fote-style-menu{
  display:none;
  position:absolute;
  top:45px;
  left:0;
  width:230px;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:12px;
  box-shadow:0 18px 45px rgba(15,23,42,.18);
  padding:10px;
  z-index:99999;
}

.fote-style-menu.active{
  display:block;
}

.fote-style-menu button{
  width:100%;
  display:block;
  text-align:left;
  border:0;
  background:#fff;
  padding:12px 14px;
  border-radius:10px;
  color:#111827;
}

.fote-style-menu button:hover{
  background:#f3f4f6;
  color:#111827;
}

.fote-paper blockquote{
  border-left:4px solid #7c3aed;
  padding:10px 16px;
  background:#f8f5ff;
  margin:15px 0;
}

.fote-paper pre{
  background:#111827;
  color:#fff;
  padding:14px;
  border-radius:8px;
  white-space:pre-wrap;
}

.fote-check-item{
  display:flex;
  gap:8px;
  align-items:center;
  margin:8px 0;
}
.fote-testimonials{
  max-width:1180px;
  margin:0 auto 80px;
  padding:70px 20px;
  background:linear-gradient(135deg,#f2b8e8,#b8cdfc);
  text-align:center;
}

.fote-testimonials h2{
  font-size:38px;
  margin:0 0 38px;
  color:#111827;
  font-weight:800;
}

.fote-testimonial-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
}

.fote-testimonial-card{
  background:#fff;
  border-radius:14px;
  padding:30px;
  text-align:left;
  box-shadow:0 12px 30px rgba(15,23,42,.12);
}

.fote-user{
  width:46px;
  height:46px;
  border-radius:50%;
  background:#7c3aed;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  margin-bottom:16px;
}

.fote-testimonial-card p{
  color:#374151;
  line-height:1.7;
  margin:0 0 18px;
}

.fote-testimonial-card strong{
  display:block;
  color:#111827;
  margin-bottom:8px;
}

.fote-testimonial-card span{
  color:#f59e0b;
}

@media(max-width:900px){
  .fote-testimonial-grid{
    grid-template-columns:1fr;
  }
}
.fote-user-info{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:18px;
}

.fote-user-info img{
    width:62px;
    height:62px;
    border-radius:50%;
    object-fit:cover;
    border:3px solid #ffffff;
    box-shadow:0 5px 15px rgba(0,0,0,.12);
}

.fote-user-info strong{
    display:block;
    font-size:18px;
    color:#111827;
    margin-bottom:4px;
}

.fote-stars{
    color:#f59e0b;
    letter-spacing:2px;
    font-size:16px;
}
.fote-editor-area:fullscreen{
  background:#fff;
  overflow:auto;
  padding:20px;
}

.fote-editor-area:fullscreen .fote-paper{
  min-height:80vh;
}
.fote-find-box{

    display:none;

    gap:10px;

    align-items:center;

    flex-wrap:wrap;

    padding:15px 18px;

    background:#f8fafc;

    border-bottom:1px solid #e5e7eb;

}

.fote-find-box.active{

    display:flex;

}

.fote-find-box input{

    padding:10px 14px;

    border:1px solid #d1d5db;

    border-radius:8px;

    min-width:180px;

}

.fote-find-box button{

    padding:10px 14px;

    border:1px solid #d1d5db;

    border-radius:8px;

    background:#fff;

    cursor:pointer;

}

.fote-find-box button:hover{

    background:#7c3aed;

    color:#fff;

}
/* DARK MODE */

body.fote-dark{

    background:#111827;

}

body.fote-dark .fote-main{

    background:#111827;

    color:#f9fafb;

}

body.fote-dark .fote-editor-area{

    background:#1f2937;

    border-color:#374151;

}

body.fote-dark .fote-paper{

    background:#111827;

    color:#fff;

}

body.fote-dark .fote-toolbar{

    background:#1f2937;

}

body.fote-dark .fote-toolbar button,

body.fote-dark .fote-toolbar select,

body.fote-dark #foteSize,

body.fote-dark #foteNoteName{

    background:#374151;

    color:#fff;

    border-color:#4b5563;

}

body.fote-dark .fote-paper-wrap{

    background:#0f172a;

}

body.fote-dark .fote-find-box{

    background:#1f2937;

}

/* Zoom */

#foteZoomLevel{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-width:55px;

    font-size:14px;

    font-weight:700;

}
.fote-case-wrap{

    position:relative;

    display:inline-flex;

}

.fote-case-menu{

    display:none;

    position:absolute;

    top:45px;

    left:0;

    width:180px;

    background:#fff;

    border:1px solid #e5e7eb;

    border-radius:12px;

    box-shadow:0 18px 45px rgba(15,23,42,.18);

    padding:10px;

    z-index:99999;

}

.fote-case-menu.active{

    display:block;

}

.fote-case-menu button{

    width:100%;

    display:block;

    text-align:left;

    padding:11px 14px;

    border:0;

    background:#fff;

    border-radius:8px;

    cursor:pointer;

}

.fote-case-menu button:hover{

    background:#f3f4f6;

}
/* ===== Font Menu ===== */

.fote-font-wrap{
    position:relative;
    display:inline-block;
}

.fote-font-wrap > button{
    width:56px;
    height:46px;
    border:1px solid #d1d5db;
    background:#fff;
    border-radius:10px;
    font-size:18px;
    font-weight:700;
    cursor:pointer;
    transition:.25s;
}

.fote-font-wrap > button:hover{
    background:#7c3aed;
    color:#fff;
}

.fote-font-menu{
    display:none;
    position:absolute;
    top:55px;
    left:0;
    width:210px;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    box-shadow:0 15px 35px rgba(0,0,0,.15);
    overflow:hidden;
    z-index:99999;
}

.fote-font-menu.active{
    display:block;
}

.fote-font-menu button{
    width:100%;
    padding:12px 15px;
    border:0;
    background:#fff;
    text-align:left;
    cursor:pointer;
    font-size:15px;
}

.fote-font-menu button:hover{
    background:#f5f5f5;
}
/* ===========================
   DOWNLOAD MENU
=========================== */

.fote-download-wrap{
    position:relative;
    display:inline-flex;
}

.fote-upload-btn,
.fote-download-toggle{

    width:48px;
    height:46px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:1px solid #d1d5db;
    background:#fff;

    border-radius:10px;

    cursor:pointer;

    font-size:18px;

    transition:.25s;

}

.fote-upload-btn:hover,
.fote-download-toggle:hover{

    background:#7c3aed;
    color:#fff;

}

.fote-download-menu{

    display:none;

    position:absolute;

    top:58px;
    right:0;

    width:240px;

    background:#fff;

    border:1px solid #e5e7eb;

    border-radius:14px;

    box-shadow:0 20px 45px rgba(15,23,42,.18);

    padding:12px;

    z-index:999999;

}

.fote-download-menu.active{

    display:block;

}

.fote-download-title{

    display:block;

    padding:6px 10px 12px;

    font-size:12px;

    font-weight:700;

    color:#64748b;

    letter-spacing:.08em;

}

.fote-download-menu button{

    width:100%;

    display:flex;

    align-items:center;

    gap:12px;

    padding:12px;

    border:0;

    background:#fff;

    border-radius:10px;

    cursor:pointer;

    text-align:left;

    color:#111827;

    font-size:14px;

    font-weight:600;

}

.fote-download-menu button:hover{

    background:#f3f4f6;

}

.fote-download-menu span{

    width:24px;

    text-align:center;

}
