@use "../../../../../styles/abstracts/variables";
@use "../../../../../styles/abstracts/mixins";

.confirm__modal {
    background: rgba(0,0,0,.9);
    position: fixed;
    height: 100vh;
    width: 100vw;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: scroll;

    &__content {
        max-width: 500px;
        margin: 0 auto;
        background: #1e1e1e;
        box-shadow: none !important;
        border-radius: 0.5rem;
        padding: 2rem 2rem;
        font-size: 0.95rem;;
        position: relative;
        margin-top: 3rem;
        margin-bottom: 4rem;

        &--close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: variables.$col-danger-bg;
            color: variables.$col-danger-color;
            padding: .3rem .5rem;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 600;
            font-size: .75rem;
        }

        &--details {
            &--header{
                &--helper {
                    background: variables.$col-orange;
                    margin-bottom: 1rem;
                    max-width: 30%;
                    padding: .4rem .3rem;
                    border-radius: 20px;
                    color: variables.$col-dark;
                    font-size: .7rem;
                    font-weight: 500;
                    text-align: center;
                    text-transform: capitalize;
                }
                h2{
                    font-weight: 500;
                    font-size: 1rem;
                    border-bottom: 1px solid variables.$col-active-btn-bg;
                    padding-bottom: .2rem;
                    color: variables.$col-white;
                }
                p{
                    font-size: .82rem !important;
                    padding-top: .2rem;
                    opacity: .9;
                    font-weight: 400 !important;
                    line-height: 1.7;
                    padding-bottom: 1.5rem !important;
                    color: variables.$col-white;
                }
                button {
                    width: 100%;
                    padding: 0.7rem;
                    background: #f7931a;
                    color: variables.$col-dark;
                    border: none;
                    border-radius: 0.5rem;
                    font-weight: 600;
                    cursor: pointer;
                    font-size: 0.8rem;
                    transition: background 0.25s ease;

                    &:hover {
                        background: #e68410;
                    }
                }

                form {
                    label {
                        font-size: 0.8rem;
                        color: #ccc;
                        display: inline-block;
                        font-weight: 400;
                      }
    
                    input, select, textarea {
                        width: 100%;
                        background: #1e1e1e;
                        border: 1px solid #333;
                        box-shadow: none !important;
                        border-radius: 0.5rem;
                        padding: 0.5rem 0.9rem;
                        font-size: 0.85rem;
                        height: 2.8rem;
                        color: #eee;
                        text-align: left;
                      
                        &:focus {
                          outline: none;
                          border: 1px solid #333;
                        }
                      
                        &::placeholder {
                          color: #777;
                          font-size: 0.7rem !important;
                            opacity: .85;
                        }
                    }

                    textarea {
                        height: 5rem;
                    }
                    
                    input::placeholder, select::placeholder, textarea::placeholder{
                        color: variables.$col-white;
                        font-size: .8rem;
                        opacity: .75;
                    }
                }
            }
        }
    }

} ::-webkit-scrollbar{
    display: none !important;
}