/* Layout */
@import url("layout/form.css");
@import url("layout/settingsPanel.css");
@import url("layout/container.css");
@import url("layout/header.css");
@import url("layout/videoinfo.css");

/* Components */
@import url("components/checkbox.css");
@import url("components/loader.css");

@import url("theme/themeimport.css");
@import url("components/editpathbutton.css");
@import url("components/progressBar.css");

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

#app {
  display: block; 
  opacity: 0;
  transition: opacity 0.6s ease;
}
#app.visible {
  opacity: 1;
}

html,body{
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    /*outline: 2px solid red; /*<-- Utile pour le debug ça */ 
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
}

body {
    margin: 0;
    background-color: var(--background-color);
    width: 100%;
    height: 100%;
    color: var(--default-text-color);
    display: flex;
    justify-content: center;
    align-items: center;   
    display: flex;
    flex-direction: column;
    align-items: center;

}

/* Because why not */
#reference{
  position: fixed;
  pointer-events: none;
  bottom:0vh;
  left: 10px;
  font-size: 1em;
  color: #b0b0b02f;
}

/* Scrollbar globale pour Chromium/Electron */
body::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 5px;
}

body::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

body::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 0.35);
  transform: scaleX(1.05);
}

/* Thème clair */
body.light::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}

body.light::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.25);
}

body.light::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.45);
}

.container{
  margin-top: 50px;
}

header p{
  color: var(--subtitle-color);
}

.checkbox-inline{
  color: var(--mp3-text-color);
}

body, 
.container, 
input, 
button, 
select, 
label {
  transition: background-color 0.2s ease, color 0.5s ease, border-color 0.2s ease;
}