 :root {
    --primary-color: #1b7ab9;  /* blauw */
    --secondary-color: #2ecc71; /* groen */
    --text-color: #333333;      /* donkergrijs */
    --text-color-hover: #9b9a9a;   
    --background-color: #f5f5f5;
    --white: #fff;
    --title-color:  #333333;
    --style-purple: #6366f1;
    --gray-text-color: #374151;
    --subtitle-gray: #454545;
    --background-color: #fcfcfc;
    --mainfont: "Inter", sans-serif;
    --accent: #9b87f5;
    --accent-hover: #7c3aed;
}

* {
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    font-family: var(--mainfont);
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    font-family: var(--mainfont);
}

.header {
    background-color: #2d2d2d;
    height: 56px;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 2rem;
}

.header .logo {
    color: rgb(232, 232, 232);
    font-size: 20px;
    font-weight: bold;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.container {
    display: flex;
    height: calc(100vh - 56px);
    width: 100vw;
    background-color: rgb(54, 54, 54);
}

.sidebar {
    width: 80px;
    background: #2d2d2d;
    border-right: 1px solid #1a1a1a;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    z-index: 100;
    flex-shrink: 0;
}

.sidebar-icon {
    width: 65px;
    height: 65px;
    margin: 5px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s;
    position: relative;
}

.sidebar-icon:hover {
    background: var(--accent-hover);
}

.sidebar-icon.active {
    background: var(--accent);
}

.sidebar-icon svg {
    width: 40px;
    height: 40px;
    fill: #fefefe;
}

.sidebar-spacer {
    flex: 1;
}

.right-container {
    flex: 1;
    position: relative;
    background: #1a1a1a;
    overflow: hidden;
    display: block;
}

#iphone-container {
    height: 100%;
    width: 100%;
    display: block;
    position: relative;
}

.panel {
    display: none;
    background: #252526;
    border-right: 1px solid #1a1a1a;
    overflow-y: auto;
    z-index: 99;
    padding: 24px;
    align-items: center;
    transition: transform 0.3s ease;
    flex-direction: column;
}

.panel.active {
    display: flex;
    width: 280px;
    min-width: 300px;
}

#color .swatch-container {
    width: 100%;
    height: 9rem;
    margin-bottom: 24px;
    background-color: #ff6600;
}

#colorPicker {
    width: 100%;
    height: 100%;
    outline: none;
    opacity: 0;
    cursor: pointer;
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    width: 100%;
}

.color-swatch {
    aspect-ratio: 1;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
    cursor: pointer;
}

.color-swatch:hover {
    border-color: #fff;
}

#color hr {
    width: 100%;
    opacity: .3;
}

#color .buttons-wrapper {
    background: #2d2d2d;
    display: flex;
    width: 100%;
    justify-content: space-between;
    border-radius: 12px;
    font-size: 14px;
    color: #fdfdfd;
    margin-bottom: 24px;
    overflow: hidden;
    user-select: none;
}

#color .buttons-wrapper .shadow-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8px 0;
    cursor: pointer;
}

.shadow-btn.fourths {
    width: 25%;
}

.shadow-btn.thirds {
    width: 33.34%;
}

.shadow-btn.border, .media-type.border, .export-type-btn.border  {
    border-right: 1px solid rgba(74, 74, 74, 0.574);
}

.shadow-btn.active, .export-type-btn.active {
    background: var(--accent);
}

.shadow-btn:hover, .export-type-btn:hover {
    background: var(--accent);
}

.upload-container {
  display: inline-block;
  width: 100%;
  aspect-ratio: 1;
  border: 2px dashed #aaa;
  border-radius: 12px;
  cursor: pointer;
  overflow: hidden;
  margin-bottom: 24px;
}

.upload-container:hover {
  border-color: #fff;
  background: #222;
}

.upload-label {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.upload-content {
  text-align: center;
  color: #eee;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px;
}

.upload-content i {
    font-size: 45px;
    margin-bottom: 12px;
}


#mediaUpload {
  display: none;
}

.media-type-wrapper {
    background: #2d2d2d;
    display: flex;
    width: 100%;
    justify-content: space-between;
    border-radius: 12px;
    font-size: 16px;
    color: #ffffff;
    overflow: hidden; 
    font-family: var(--mainfont);
    margin-bottom: 24px;
}

.media-type-wrapper .media-type {
    width: 50%;
    padding: 8px 0;
    display: inline-block;
    text-align: center;
}

.media-type-wrapper .media-type.active {
    background: var(--accent);
}

.section-small-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #dcdbdb;
    margin-bottom: 10px;
    text-align: left;
    display: inline-block;
    width: 100%;
}

.model-type-btn {
    margin-bottom: 12px;
    width: 100%;
    background: #2d2d2d;
    padding: 8px 24px;
    border-radius: 12px;
    color: #f3f2f2;
    font-size: 16px;
}

.model-type-btn.active {
    background: var(--accent);
}

.spacer-12px {
    height: 12px;
}

.control-group {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.control-group label {
    color: #fefefe;
    font-size: 16px;
}

.control-group button {
    background-color: var(--accent);
    padding: 4px 8px;
    color: #fffefe;
    border-radius: 4px;
    font-size: 16px;
}

.control-group button:hover {
    background-color: #0b588c;
}

.control-group .reset-pos {
    background-color: #252526;
    font-size: 14px;
    color: #616161;
}

.control-group .reset-pos:hover {
    background-color: #252526;
    color: #cccccc;
}

.animation-option {
    padding: 10px 24px;
    color: #f3f0f0;
    background: #2d2d2d;
    width: 100%;
    font-size: 16px;
    margin-bottom: 12px;
    text-align: left;
    border-radius: 12px;
    border: 1px solid rgba(128, 128, 128, 0.219);
}

.animation-option.selected {
    background-color: var(--accent);
}

.animation-option:hover {
    background-color: var(--accent);
}
.spacer-24px {
    height: 24px;
}

.row {
    width: 100%;
}

input[type=range] {
  width: 100%;
  appearance: none;
  height: 10px;
  background: #4d5158;
  border-radius: 6px;
}
input[type=range]::-webkit-slider-thumb {
  appearance: none;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
}
.value {
  text-align: right;
  font-size: 13px;
  color: #9aa0a6;
}

#total {
  margin-top: 12px;
  padding-top: 12px;
  width: 100%;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 15px;
  color: #cccccc;
  display: flex;
  justify-content: space-between;
}

#warning-time-container {
  color: rgb(248, 153, 1);;
  width: 100%;
  font-size: 14px;
  text-align: justify;
  border: solid 1px rgb(248, 153, 1);
  border-radius: 12px;
  margin-top: 12px;
  padding: 12px;
  display: none;
  background-color: rgba(248, 153, 1, 0.302);
}



#export .buttons-wrapper {
    background: #2d2d2d;
    display: flex;
    width: 100%;
    justify-content: space-between;
    border-radius: 12px;
    font-size: 16px;
    color: #f8f7f7;
    margin-bottom: 24px;
    overflow: hidden;
    user-select: none;
}

#export .buttons-wrapper .export-type-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8px 0;
    width: 50%;
    cursor: pointer;
}

#export .export-type-container {
    width: 100%;
    display: none;
}

#export .export-type-container.active {
    display: block;
}

#export .dropbtn {
    width: 100%;
    color: #f5f4f4;
    padding: 8px;
    font-size: 16px;
    border-radius: 12px;
    background: #2d2d2d;
    border: 1px solid rgba(128, 128, 128, 0.197);
    display: flex;
    justify-content: center;
    position: relative;
    text-align: center;
}

#export .dropbtn :nth-child(2) {
    position: absolute;
    right: 10%;
    top: 15%;
    font-size: 16px;
}

#export .dropbtn:hover {
    background: #3e3e3e;
}

#export .export-btn {
    padding: 8px;
    border-radius: 12px;
    font-size: 16px;
    border: 1px solid rgba(128, 128, 128, 0.197);
    width: 100%;
    background: var(--accent);
    color: #fff;
}


.export-type-btn.left {
    border-radius: 12px 0 0 12px;
}
.export-type-btn.right {
    border-radius: 0 12px 12px 0;
}

.progress-wrapper {
    display: block;
}

#export select option{
    width: 100%;
    border-radius: 12px;
}

.tool-tip {
    position: absolute;
    z-index: 999;
    border: 1px solid grey;
    padding: 12px 24px;
    display: flex;
    column-gap: 12px;
    border-radius: 12px;
    color: #cccccc;
    right: 12px;
    bottom: 12px;
    background-color: #3f3e3e;
    cursor: pointer;
}

.tool-tip i {
    font-size: 22px;
    color: #cccccc;
}

#settings a, .mobile-warning a {
    width: 100%;
    text-decoration: none;
}

#settings button, .mobile-warning button {
    width: 100%;
    border: 1px solid #cccccc;
    padding: 8px;
    margin-bottom: 12px;
    display: flex;
    gap: 24px;
    padding-left: 24px;
    font-size: 18px;
    color: #cccccc;
    border-radius: 8px;
}

#settings hr {
    width: 100%;
    margin-top: 12px;
    margin-bottom: 24px;
    opacity: .5;
}

#settings .red {
    background-color: rgba(255, 0, 0, 0.251);
    border-color: rgba(125, 10, 10, 0.429);
}

#settings form {
    width: 100%;
}


.delete-account-modal {
    position: fixed;
    width: 100vw;
    z-index: 9999;
    height: 100vh;
    display: none;
    pointer-events: auto;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.66);
}

.delete-account-modal.show {
    display: flex;
}

.delete-account-modal .delete-container {
    background-color: #2b2b2b;
    margin-bottom: auto;
    margin-top: 10vh;
    padding: 32px;
    border-radius: 12px;
    display: flex;
    border: 1px solid rgba(128, 128, 128, 0.262);
    flex-direction: column;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.delete-account-modal .delete-container p {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
}

.delete-account-modal .delete-container .btn-group {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 60px;
    margin-top: 32px;
}

.delete-account-modal .delete-container button {
    padding: 12px 32px;
    font-size: 18px;
    color: #cccccc;
    background-color: #616161;
    border-radius: 12px;
}

.delete-account-modal .delete-container button.red {
    color: #fff;
    background-color: rgb(125, 12, 12);
}






.loader {
  font-size: 10px;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 50%;
  text-indent: -9999em;
  animation: mulShdSpin 1.1s infinite ease;
  transform: translateZ(0);
  display: none;
}


@keyframes mulShdSpin {
  0%,
  100% {
    box-shadow: 0em -2.6em 0em 0em #ffffff, 1.8em -1.8em 0 0em rgba(255,255,255, 0.2), 2.5em 0em 0 0em rgba(255,255,255, 0.2), 1.75em 1.75em 0 0em rgba(255,255,255, 0.2), 0em 2.5em 0 0em rgba(255,255,255, 0.2), -1.8em 1.8em 0 0em rgba(255,255,255, 0.2), -2.6em 0em 0 0em rgba(255,255,255, 0.5), -1.8em -1.8em 0 0em rgba(255,255,255, 0.7);
  }
  12.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255,255,255, 0.7), 1.8em -1.8em 0 0em #ffffff, 2.5em 0em 0 0em rgba(255,255,255, 0.2), 1.75em 1.75em 0 0em rgba(255,255,255, 0.2), 0em 2.5em 0 0em rgba(255,255,255, 0.2), -1.8em 1.8em 0 0em rgba(255,255,255, 0.2), -2.6em 0em 0 0em rgba(255,255,255, 0.2), -1.8em -1.8em 0 0em rgba(255,255,255, 0.5);
  }
  25% {
    box-shadow: 0em -2.6em 0em 0em rgba(255,255,255, 0.5), 1.8em -1.8em 0 0em rgba(255,255,255, 0.7), 2.5em 0em 0 0em #ffffff, 1.75em 1.75em 0 0em rgba(255,255,255, 0.2), 0em 2.5em 0 0em rgba(255,255,255, 0.2), -1.8em 1.8em 0 0em rgba(255,255,255, 0.2), -2.6em 0em 0 0em rgba(255,255,255, 0.2), -1.8em -1.8em 0 0em rgba(255,255,255, 0.2);
  }
  37.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255,255,255, 0.2), 1.8em -1.8em 0 0em rgba(255,255,255, 0.5), 2.5em 0em 0 0em rgba(255,255,255, 0.7), 1.75em 1.75em 0 0em #ffffff, 0em 2.5em 0 0em rgba(255,255,255, 0.2), -1.8em 1.8em 0 0em rgba(255,255,255, 0.2), -2.6em 0em 0 0em rgba(255,255,255, 0.2), -1.8em -1.8em 0 0em rgba(255,255,255, 0.2);
  }
  50% {
    box-shadow: 0em -2.6em 0em 0em rgba(255,255,255, 0.2), 1.8em -1.8em 0 0em rgba(255,255,255, 0.2), 2.5em 0em 0 0em rgba(255,255,255, 0.5), 1.75em 1.75em 0 0em rgba(255,255,255, 0.7), 0em 2.5em 0 0em #ffffff, -1.8em 1.8em 0 0em rgba(255,255,255, 0.2), -2.6em 0em 0 0em rgba(255,255,255, 0.2), -1.8em -1.8em 0 0em rgba(255,255,255, 0.2);
  }
  62.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255,255,255, 0.2), 1.8em -1.8em 0 0em rgba(255,255,255, 0.2), 2.5em 0em 0 0em rgba(255,255,255, 0.2), 1.75em 1.75em 0 0em rgba(255,255,255, 0.5), 0em 2.5em 0 0em rgba(255,255,255, 0.7), -1.8em 1.8em 0 0em #ffffff, -2.6em 0em 0 0em rgba(255,255,255, 0.2), -1.8em -1.8em 0 0em rgba(255,255,255, 0.2);
  }
  75% {
    box-shadow: 0em -2.6em 0em 0em rgba(255,255,255, 0.2), 1.8em -1.8em 0 0em rgba(255,255,255, 0.2), 2.5em 0em 0 0em rgba(255,255,255, 0.2), 1.75em 1.75em 0 0em rgba(255,255,255, 0.2), 0em 2.5em 0 0em rgba(255,255,255, 0.5), -1.8em 1.8em 0 0em rgba(255,255,255, 0.7), -2.6em 0em 0 0em #ffffff, -1.8em -1.8em 0 0em rgba(255,255,255, 0.2);
  }
  87.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255,255,255, 0.2), 1.8em -1.8em 0 0em rgba(255,255,255, 0.2), 2.5em 0em 0 0em rgba(255,255,255, 0.2), 1.75em 1.75em 0 0em rgba(255,255,255, 0.2), 0em 2.5em 0 0em rgba(255,255,255, 0.2), -1.8em 1.8em 0 0em rgba(255,255,255, 0.5), -2.6em 0em 0 0em rgba(255,255,255, 0.7), -1.8em -1.8em 0 0em #ffffff;
  }
}

.mobile-warning {
    display: none;
    opacity: 0;
    pointer-events: auto;
}

@media (max-width: 900px) {
    .tool-tip {
        display: none;
    }

    .mobile-warning {
        position: fixed;
        z-index: 99999;
        opacity: 1;
        background-color: #2d2d2d;
        width: 100vw;
        height: 100vh;
        padding: 1.5rem;
        padding-top: 3rem;
        display: flex;
        flex-direction: column;
    }

    .mobile-warning h1 {
        margin-bottom: 24px;
        color: #eaeaea;
    }

    .mobile-warning p {
        color: #fdfdfd;
        margin-bottom: 32px;
    }

    .mobile-warning button {
        margin-bottom: 32px;
    }

    .header {
        display: none;
    }

    .mobile-warning .img-wrapper {
        background-color: rgb(59, 59, 59);
        padding: 1rem;
        width: 100%;
        height: 100%;
        margin-left: 1.5rem;
        margin-top: 1.5rem;
        border-radius: 8px 0 0 0;
    }
}












