@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Inter',sans-serif;
}


body{
    will-change: transform;
}

.modern-drop,
.info-card,
.upload-btn,
.convert-btn,
.theme-toggle{
    transition: all 0.2s ease;
}
body{
  background:#edf2ff;
  min-height:100vh;
  overflow-x:hidden;
  color:#111;
  position:relative;
  transition:.3s;
}

html.dark body{
  background:#0f1117;
  color:white;
}
/* HEADINGS */

h1,
h2,
h3,
.logo{
  font-family:'Plus Jakarta Sans',sans-serif;
}

/* BACKGROUND */

.bg-blur{
  position:absolute;
  border-radius:50%;
  filter:blur(100px);
  z-index:-1;
}

.blur1{
  width:300px;
  height:300px;
  background:#9b7bff;
  top:50px;
  left:50px;
}

.blur2{
  width:300px;
  height:300px;
  background:#7bc6ff;
  bottom:50px;
  right:50px;
}

/* LAYOUT */

.layout{
  display:flex;
  gap:25px;
  padding:20px;
}

.main-content{
  flex:1;
  width:100%;
}

/* GLASS */

.glass{
  background:rgba(255,255,255,.28);
  backdrop-filter:blur(25px);
  border:1px solid rgba(255,255,255,.35);
  box-shadow:0 8px 30px rgba(0,0,0,.06);
}

/* SIDEBAR */

.sidebar{
  width:280px;
  border-radius:35px;
  padding:25px;
  min-height:95vh;
}

.logo{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:45px;
}

.logo-box{
  width:72px;
  height:72px;
  border-radius:22px;
  overflow:hidden;
  flex-shrink:0;
}

.logo-box img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.logo h2{
  font-size:28px;
  font-weight:800;
  letter-spacing:-1.5px;
  line-height:1;
}

.logo span{
  color:#6c63ff;
}

.logo p{
  color:#666;
  margin-top:4px;
  font-size:15px;
}

/* MENU */

.menu{
  display:flex;
  flex-direction:column;
  gap:15px;
}

.menu a{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
  color:#111;
  padding:16px 18px;
  border-radius:18px;
  transition:.3s;
  font-weight:500;
  font-size:17px;
}

.menu a svg{
  width:20px;
  height:20px;
  stroke-width:2.2;
}

.menu a:hover,
.menu .active{
  background:rgba(255,255,255,.4);
}

/* TOPBAR */

.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:25px;
}

.search{
  width:420px;
  padding:17px 24px;
  border:none;
  border-radius:18px;
  outline:none;
  background:rgba(255,255,255,.35);
  font-size:15px;
}

/* THEME */

.theme-toggle{
  width:58px;
  height:58px;
  border-radius:18px;
  background:rgba(255,255,255,.35);
  backdrop-filter:blur(20px);
  border:1px solid rgba(255,255,255,.3);
  display:flex;
  justify-content:center;
  align-items:center;
  cursor:pointer;
  transition:.3s;
}

.theme-toggle:hover{
  transform:translateY(-2px);
}

.theme-toggle svg{
  width:22px;
  height:22px;
  color:#222;
}

/* DARK MODE */

html.dark,
html.dark body{
    background:#0f1117 !important;
    color:white;
}

html.dark .blur1{
  background:#5b3cff;
}

html.dark .blur2{
  background:#1f8fff;
}

html.dark .glass{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 8px 30px rgba(0,0,0,.3);
}

html.dark .sidebar{
  background:rgba(255,255,255,.04);
}

html.dark .menu a{
  color:#f1f1f1;
}

html.dark .menu a:hover,
html.dark .menu .active{
  background:rgba(255,255,255,.08);
}

html.dark p{
  color:#bdbdbd;
}

html.dark h1,
html.dark h2,
html.dark h3{
  color:white;
}

html.dark .search{
  background:rgba(255,255,255,.05);
  color:white;
}

html.dark input::placeholder{
  color:#999;
}

html.dark .theme-toggle{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
}

html.dark .theme-toggle svg{
  color:white;
}

/* RESPONSIVE */

@media(max-width:1100px){

  .layout{
    flex-direction:column;
  }

  .sidebar{
    width:100%;
    min-height:auto;
  }

  .search{
    width:100%;
  }

}

@media(max-width:700px){

  .layout{
    padding:12px;
  }

}