:root {
    color-scheme: light dark;
}
a{
    color: white;
}
*{
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    font-family: Inter, sans-serif;
}
body{
    height: 100vh;
    width: 100%;
    background: #171821;
    .container{
        padding-bottom: 30px;
        flex-direction: column;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
        height: max-content;
        h1 {
            text-align: center;
            margin: 30px 0;
            max-width: 500px;
        }        
        .help{
            max-width: 400px;
            width: 100%;
            margin-bottom: 30px;
        }
        .images{
            display: flex;
            height: 100px;
            align-items: center;
            justify-content: center;
            gap: 25px;
            margin-bottom: 30px;
            img{
                height: 100%;
            }
        }
        form {
            background: #21222d;
            padding: 32px;
            border-radius: 10px;
            max-width: 530px;
            width: 100%;
    
            .form-group {
                margin-bottom: 15px;
    
                label {
                    display: block;
                    margin-bottom: 5px;
                }
    
                input, textarea, select {
                    font-size: 16px;
                    width: 100%;
                    max-width: 100%;
                    min-width: 100%;
                    padding: 14.5px 12px;
                    margin-top: 5px;
                    margin-bottom: 20px;
                    border: none;
                    border-radius: 3px;
                    transition: border-color 0.3s;
                    background-color: #2b2b36;
                    &:focus{
                        border: #007bff;
                        outline: none;
                    }
                    &:placeholder{
                        color: #aaa;
                    }
                }
                textarea {
                    min-height: 100px;
                }
            }
    
            .submit-btn{
                width: 100%;
                display: flex;
                justify-content: center;
            }
    
            .sign-up{
                width: 100%;
                display: flex;
                justify-content: center;
                padding-top: 10px;
                a{
                    text-align: center;
                    transition: all ease .2s;
                    &:hover{
                        color: #007bff;
                        text-decoration: underline;
                        transition: all ease .2s;
                    }
                }
            }
        }
        .styled-table {
            margin-top: 50px;
            box-sizing: border-box;
            overflow: hidden;
            border-radius: 10px;
            width: 95%;
            background-color: #21222d;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
            thead{        
                th {
                    color: #FFF;
                    font-weight: bold;
                    font-size: 14px;
                }
                tr {
                    background-color: #232431;
                    color: #FFF;
                    font-weight: bold;
                }
            }        
            th, td {
                padding: 12px 15px;
                text-align: left;
                color: #7a7a7a;
            }
            tbody{
                td {
                    font-size: 14px;
                }
                tr:nth-of-type(even) {
                    background-color: #232431;
                }
                button {
                    font-size: 14px;
                    padding: 10px;
                    margin: 0;
                }
            }
        }
        button{
            font-size: 16px;
            cursor: pointer;
            padding: 14.5px 12px;
            margin-top: 5px;
            border: none;
            background: #171821;
            border-radius: 5px;
            box-sizing: border-box;
            transition: border-color 0.3s;
            border: 1px solid #171821;
            
            &:hover{
                border-color: #007bff;
            }
        }
        #alert-loading{            
            border-radius: 5px;
            position: fixed;
            padding: 20px;
            background-color: #454653;
            right: 0%;
            top: 10px;
            transition: all ease .3s;
            transform: translateX(-10px);
            &.hidden{
                transform: translateX(calc(100% + 10px));
            }
        }
        #loading-card{
            border-radius: 5px;
            position: fixed;
            padding: 20px;
            background-color: #454653;
            right: 0%;
            bottom: 10px;
            transition: all ease .3s;
            &.show{
                transform: translateX(-10px);
            }
            &.hidden{
                transform: translateX(calc(100% + 10px));
            }
            .text-container{
                width: 100%;
                display: flex;
                align-items: center;
                gap: 10px;
                .spiner-loader {
                    display: block;
                    border: 3px solid #464646; /* Light grey */
                    border-top: 3px solid #a9dfd8; /* Blue */
                    border-radius: 50%;
                    width: 20px;
                    height: 20px;
                    animation: spin 1s linear infinite;
                }
                .hidden{
                    display: none;
                }
                .icon-check{
                    color: #11EE22;
                }
                .icon-cross{
                    color: #EE1122;
                }
            }
            .container-progress-bar{
                width: 100%;
                height: 20px;
                background-color: #232431;
                margin-top: 10px;
                border-radius: 5px;
                display: flex;
                justify-content: left;
                overflow: hidden;
                &.hidden{
                    display: none;
                }
                .progress-bar{
                    background-color: #77Acff99;
                    border-radius: 5px;
                    height: 100%;
                    width: 0;
                    transition: all ease .5s;
                }
            }
        }
    }
    .foot-card{
        position: fixed;
        bottom: 10px;
        right: 10px;
        padding: 20px;
        background-color: #21222D;
        border-radius: 10px;
        display: grid;
        .ds-status{
            padding: 10px;
        }
        .button-docusign{
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: all ease .3s;
            border-radius: 5px;
            padding: 5px;
            &:hover{
                background-color: #FFFFFF15;
                transition: all ease .3s;
            }
        }
    }
}
.remaining{
    cursor: pointer;
    position: fixed;
    display: flex;
    bottom: 20px;
    align-items: center;
    gap: 5px;
    left: 0px;
    background-color: #21222d;
    padding: 10px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    transition: all .5s ease;
    transform: translateX(calc( -100% + 30px));
    &:hover{
        transform: translateX(0);
    }
    .arrow{
        color: #007bff;
        font-weight: bold;
        padding: 10px;
        display: block;
        width: 10px;
    }
}
.back{
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px;
}

.back a {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #171821;
    gap: 3px;
    border: 1px solid #21222D;
    border-radius: 5px;
    padding: 5px;
    &:hover{
        border-color: #007bff;
        }
}
.foot-card-date{
    position: fixed;
    bottom: 10px;
    left: 10px;
    padding: 20px;
    background-color: #21222D;
    border-radius: 10px;
    display: grid;
    .ds-status{
        padding: 10px;
    }
}
.error-message{
    color: #EE1122;
}
.success-message{
    color: #11EE22;
}
.pach-download{
    display: flex;
    gap: 20px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}