@import url('https://fonts.googleapis.com/css2?family=Anton+SC&display=swap');

:root {
    --basic-black: #111;
    --basic-white: #fff;
    --basic-gray: #333;
    --gray-app: #444444;
    --basic-gray-light: #707070;
    --basic-red: #dc0000;
    --bd: #f3f2fd;
    --nav: #fff;
    --bg: #ebf0f7;
    --header: #fbf4f6;
    --text: #2e2e2f;
    --white: #ffffff;
    --light-grey: #c4cad3;
    --tag-1: #ffffc8;
    --tag-1-text: #bbbc32;
    --tag-2: #fbd2f4;
    --tag-2-text: #923c84;
    --tag-3: #cfecf1;
    --tag-3-text: #1eb1ca;
    --tag-4: #f9ebd4;
    --tag-4-text: #fbab2c;
    --color-logo-1: #bbbc32;
    --color-logo-2: #923c84;
    --color-logo-3: #1eb1ca;
    --color-logo-4: #fbab2c;
    --primary-color-1: #bbbc32;
    --primary-color-2: #923c84;
    --primary-color-3: #1eb1ca;
    --primary-color-4: #fbab2c;
    --purple: #7784ee;
    --border-gray-light: #969696;
    --border-gray-light-1: #d9e0e9;
    --border-gray-light-2: #b4b4b4;
    --background-color: #fff;
    --font-color: #444;
    --line-border-fill: #2771c8;
    --line-border-empty: #e0e0e0;
    --ce2: #db3056;
    --white2: #fff;
    --black2: #111;
    --co2: #f5f5f5;
    --ci2: #595959;
    --border-ca2: #fff2;
    --ccc: #ccc;
    --aaa: #aaa;
    --button-edit: #4e87ee;
    --button-delete: #e74c3c;
}

* {
    font-family: -apple-system, BlinkMacSystemFont, "San Francisco", Helvetica, Arial, sans-serif;
    font-weight: 300;
    margin: 0;
}


body {
    height: 100vh;
    width: 100vw;
    margin: 0 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    background: var(--bd);
}

body.dark {
    background: var(--gray-app);
}

.dark-mode {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 28px;
    background: var(--bd);
    border: 1px solid var(--border-gray-light);
    cursor: pointer;
    position: relative;
    border-radius: 25px;
}

.theme-toggle::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    bottom: 2px;
    width: calc(28px - 4px);
    background: var(--line-border-fill);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.dark .theme-toggle {
    background: var(--line-border-fill);
    border: 1px solid var(--line-border-fill);
}

.dark .theme-toggle::before {
    background: var(--bd);
}

#theme-toggle:checked+.theme-toggle::before {
    left: calc(100% - (25px - 1px) - 2px);
}

.theme-toggle i {
    position: absolute;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

.theme-toggle .bx-sun {
    left: 5px;
    opacity: 1;
    color: var(--white);
}

.theme-toggle .bx-moon {
    right: 5px;
    opacity: 0;
}

.dark .theme-toggle .bx-sun {
    opacity: 0;
}

.dark .theme-toggle .bx-moon {
    opacity: 1;
}

h4 {
    font-size: 44px;
    font-weight: 600;
    color: #000;
    opacity: 0.85;
}

label {
    font-size: 12px;
    color: #000;
    opacity: 0.8;
    font-weight: 400;
}

form {
    padding: 30px 30px;
    background: #fefefe;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 20px;
    width: 400px;
    height: 450px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.34);
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    overflow: hidden;
}

form h4 {
    font-family: "Anton SC", sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.4rem;
    color: rgba(0, 0, 0, 0.25);
}

form h4 span {
    font-family: "Anton SC", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #1eb1ca;
    font-weight: 700;
}

form p {
    line-height: 155%;
    margin-bottom: 5px;
    font-size: 12px;
    color: #000;
    opacity: 0.65;
    font-weight: 400;
    text-transform: uppercase;
    width: 100%;
    margin-bottom: 40px;
}

a.discrete {
    color: rgba(0, 0, 0, 0.4);
    font-size: 10px;
    border-bottom: solid 1px rgba(0, 0, 0, 0);
    padding-bottom: 4px;
    margin-left: auto;
    font-weight: 300;
    transition: all 0.3s ease;
    margin-top: 40px;
}

a.discrete:hover {
    border-bottom: solid 1px rgba(0, 0, 0, 0.2);
}

.send-login {
    -webkit-appearance: none;
    width: auto;
    min-width: 100px;
    border-radius: 0.5rem;
    letter-spacing: 0.2rem;
    text-align: center;
    padding: 10px 20px;
    margin-top: 20px;
    background-color: #1eb1ca;
    color: #fff;
    font-size: 12px;
    margin-left: auto;
    font-weight: 500;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.34);
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
    outline: 0;
}

.send-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 2px 6px -1px rgba(12, 121, 131, 0.65);
}

.send-login:hover:active {
    transform: scale(0.99);
}

input {
    font-size: 12px;
    height: 40px;
    border: none;
    border-bottom: dashed 1px rgba(0, 0, 0, 0.1);
    background: #fff;
    width: 100%;
    margin-bottom: 20px;
    box-sizing: border-box;
    transition: all 0.3s linear;
    color: #000;
    font-weight: 400;
    -webkit-appearance: none;
}

input:focus {
    border-bottom: dashed 1px #1eb1ca;
    outline: 0;
    box-shadow: 0 2px 6px -8px rgba(157, 230, 225, 0.45);
}

input::placeholder {
    font-size: 10px;
    letter-spacing: 0.1rem;
}

.floating-label {
    position: relative;
    margin-bottom: 12px;
    width: 100%;
}

.floating-label label {
    position: absolute;
    top: calc(30% - 14px);
    font-size: 10px;
    color: #1eb1ca;
    font-weight: 600;
    letter-spacing: 0.1rem;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease;
    padding-left: 44px;
}

.floating-label input {
    width: calc(100% - 44px);
    margin-left: auto;
    display: flex;
}

.floating-label .icon {
    position: absolute;
    top: 0;
    left: 0;
    height: 46px;
    width: 34px;
    display: flex;
}

.floating-label .icon svg {
    height: 24px;
    width: 24px;
    margin: auto;
    opacity: 0.15;
    transition: all 0.3s ease;
}

.floating-label .icon svg path {
    transition: all 0.3s ease;
}

.floating-label input:not(:placeholder-shown) {
    padding: 28px 0px 12px 0px;
}

.floating-label input:not(:placeholder-shown)+label {
    transform: translateY(-0px);
    opacity: 0.7;
}

.floating-label input:valid:not(:placeholder-shown)+label+.icon svg {
    opacity: 1;
}

.floating-label input:valid:not(:placeholder-shown)+label+.icon svg path {
    fill: #1eb1ca;
}

.floating-label input:not(:valid):not(:focus)+label+.icon {
    animation-name: shake-shake;
    animation-duration: 0.3s;
}

@keyframes shake-shake {
    0% {
        transform: translateX(-3px);
    }

    20% {
        transform: translateX(3px);
    }

    40% {
        transform: translateX(-3px);
    }

    60% {
        transform: translateX(3px);
    }

    80% {
        transform: translateX(-3px);
    }

    100% {
        transform: translateX(0px);
    }
}

.session {
    display: flex;
    flex-direction: row;
    width: auto;
    height: auto;
    margin: auto auto;
    background: #ffffff;
    border-radius: 6px;
}

.left {
    width: 60px;
    height: auto;
    min-height: 100%;
    position: relative;
    background-image: url("../assets/paleta.png");
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.64);
    background-size: cover;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.left svg {
    height: 40px;
    width: auto;
    margin: 20px;
}

#span {
    display: grid;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    padding-left: 1rem;
    padding-right: 1rem;
    place-content: center;
}

.toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    /* Ajusta según sea necesario */
    height: 16px;
    /* Ajusta según sea necesario */
    cursor: pointer;
    /* Ajusta el color de fondo si es necesario */
    border-bottom: 1px dashed #ccc;
    /* Ajusta el borde si es necesario */
    border-radius: 4px;
    /* Ajusta el borde redondeado si es necesario */
    margin-top: 0.8rem;

}

.toggle::after {
    content: 'MOSTRAR';
    color: rgba(0, 0, 0, 0.4);
    font-size: 10px;

    /* Ajusta el tamaño de la fuente según sea necesario */
}

.toggle.showing::after {
    content: 'OCULTAR';
    color: #2793c9;
}

.toggle:hover {
    border-bottom: 1px dashed #2793c9;
}


@media screen and (max-width: 738px) {
    .session {
        max-width: 92%;
    }

    form {
        height: auto;
    }

    form p {
        font-size: 10px;
    }

    .toggle {
        width: 20px;
    }

    .toggle::after {
        font-size: 8px;
    }
}