:root {
    --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Nunito",  sans-serif;
    --nav-font: "Inter",  sans-serif;
  }

  /* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
  :root {
    --background-color: #ffffff; /* Background color for the entire website, including individual sections */
    --default-color: #212529; /* Default color used for the majority of the text content across the entire website */
    --heading-color: #2d465e; /* Color for headings, subheadings and title throughout the website */
    --accent-color: #17b7e3; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
  }

  /* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
  :root {
    --nav-color: #212529;  /* The default color of the main navmenu links */
    --nav-hover-color: #0d83fd; /* Applied to main navmenu links when they are hovered over or active */
    --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
    --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
    --nav-dropdown-color: #212529; /* Used for navigation links of the dropdown items in the navigation menu. */
    --nav-dropdown-hover-color: #0d83fd; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
  }




button, button:hover, button:active, button:visited, button:focus {
    outline: 0;
}

button {
    height: 45px;
    width: 100%;
    border-radius: 4px;
    color: #6c6c6c;
    border: none;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: bold;
    line-height: 22px;
    text-align: center;
    transition: 0.3s cubic-bezier(.25, .8, .95, 1);
    background: transparent;
}

button:hover {
    background: linear-gradient(216.73deg, #7B00B9 0%, #7323DC 100%);
    color: #fff;
}

/* Responsive Button Hover Reset */
@media (max-width: 768px) {
    button:hover {
        background: transparent;
        color: #6c6c6c;
        border: 1px solid #c6c6c6;
    }
}


/* Main Modal */
.modal-sde {
    height: 50px;
    width: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #333;
    color: #fff;
    border-radius: 4px;
    margin: 45px;
    cursor: pointer;
    transition: 0.25s;
}

.modal-sde:hover {
    background: rgba(0, 0, 0, .75);
    transition: 0.3s;
}

.val-success-overlay {
    z-index: 999;
    opacity: 0;
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .48);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    pointer-events: none;

    &.active {
        opacity: 1;
        pointer-events: auto;
    }

    .val-success {
        transform: translateZ(121px);
        width: 620px;
        height: auto;
        padding: 60px 25px;
        background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .6), rgba(0, 0, 0, .2)), url('../img/modal/popup.jpg') no-repeat center/cover;
        box-shadow: 1px 2px 18px rgba(0, 0, 0, .68);
        border-radius: 4px;
        transform: translateY(60%);
        opacity: 0;
        transition: 0.25s;
        transition-delay: 0s;
        position: relative;

        &.active {
            transform: translateY(0);
            opacity: 1;
            transition: 0.3s;
            transition-delay: 0.3s;
        }

        .close-modal {
            position: absolute;
            right: 15px;
            top: 15px;
            height: 44px;
            width: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;

            .close-ic {
                span {
                    width: 22px;
                    height: 2px;
                    background: #fff;
                    display: block;
                    position: absolute;
                    margin: auto;
                    left: 0;
                    right: 0;

                    &:nth-child(1) {
                        transform: rotate(45deg);
                    }

                    &:nth-child(2) {
                        transform: rotate(-45deg);
                    }
                }
            }
        }

        .val-info {
            width: 100%;

            .info {
                color: #fff;
                font-family: 'Montserrat';
                font-size: 24px;
                font-weight: 600;
                line-height: 32px;
                text-align: center;
                width: 80%;
                margin: auto;
            }
        }

        .form {
            width: 100%;
            text-align: center;
            margin-top: 45px;
        }
    }
}


@media(min-width:320px) and (max-width:600px) {
    .val-success-overlay {
        .val-success {
            width: 80%;
        }
    }
}

.sign-in-modal {
    z-index: 999999999999;
    opacity: 0;
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .48);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    pointer-events: none;

    &.active {
        opacity: 1;
        pointer-events: auto;
    }

    .inner--sign-in-modal {
        transform: translateZ(121px);
        min-width: 55%;
        height: auto;
        background: #fff;
        box-shadow: 1px 2px 18px rgba(0, 0, 0, .68);
        border-radius: 4px;
        transform: translateY(60%);
        opacity: 0;
        transition: 0.25s;
        transition-delay: 0s;
        position: relative;

        &.active {
            transform: translateY(0);
            opacity: 1;
            transition: 0.3s;
            transition-delay: 0.3s;
        }

        .val-info {
            border-radius: 4px;
            width: 100%;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            z-index: 1;

            .overlay {
                z-index: -1;
                display: block;
                position: absolute;
                background: #17b7e3;
                box-shadow: 0px 1px 10px rgba(57, 14, 110, .8);
                top: 0;
                left: 0;
                height: 100%;

                &.sign-in-side {
                    width: 50%;
                    margin-right: 50%;
                    border-radius: 4px 0 0 0;
                    transition: 0.6s;
                }

                &.sign-up-side {
                    width: 50%;
                    margin-left: 50%;
                    border-radius: 0 4px 0 0;
                    transition: 0.6s;
                }
            }

            .tab {
                box-shadow: 1px 2px 18px rgba(0, 0, 0, .18);
                width: 50%;
                height: 55px;
                background: #f1f1f1;
                display: flex;
                align-items: center;
                justify-content: center;
                color: #c8c8c8;
                font-size: 18px;
                line-height: 26px;
                font-weight: 600;
                transition: 0.5s;
                font-family: 'Montserrat';

                &.active {
                    background: transparent;
                    color: #fff;
                }
            }

            .tab-sign-in {
                cursor: pointer;
            }

            .tab-sign-up {
                cursor: pointer;
            }
        }

        .content-info {
            min-height: 85vh;
            position: relative;
            overflow-x: hidden;

            .content-sign-in {
                cursor: default;
                position: absolute;
                top: 0;
                left: -100%;
                width: 100%;
                height: 100%;
                transition: 0.6s;
                padding:20px 30px 0px 30px;
                text-align: center;
                flex-wrap: wrap;

                &.active {
                    transition: 0.6s;
                    left: 0;
                }

                .wrap--content-sign-in {
                    display: flex;
                    flex-wrap: wrap;
                    align-items: center;
                    justify-content: center;
                    width: 100%;

                    .greetings {
                        width: 100%;
                        text-align: center;
                        margin-bottom: 30px;
                        font-size: 20px;
                        line-height: 30px;
                        font-weight: 400;
                        font-family: 'Lato';
                    }

                    form {
                        width: 90%;

                        .input-control {
                            width: 100%;
                            margin: auto auto 20px auto;

                            input {
                                width: 100%;
                                height: 30px;
                                border: 1px solid #ccc;
                                box-shadow: none;
                                background: transparent;
                                border-radius: 4px;
                                padding-left: 12px;
                            }
                        }

                        button {
                            width: 100%;
                            transition: 0.45s;
                            height: 50px;
                            color: #fff;
                            text-transform: uppercase;
                            font-family: 'Montserrat';
                            font-size: 14px;
                            font-weight: bold;
                            line-height: 22px;
                            text-align: center;
                            transition: 0.3s cubic-bezier(.25, .8, .95, 1);
                            transition: padding 0s;
                            background: var(--accent-color);
                            border: none;
                        }
                    }

                    .close-login {
                        cursor: pointer;
                        width: 100px;
                        padding: 12px;
                        text-align: center;
                        margin-top: 20px;
                        position: absolute;
                        bottom: 8px;
                        margin-left: auto;
                        margin-right: auto;
                        left: 0;
                        right: 0;
                        font-size: 16px;
                        color: #333;

                        span {
                            font-size: 14px;
                            display: inline-block;
                            color: #666;
                            font-weight: 700;
                            letter-spacing: 1px;

                            &:first-child {
                                margin-left: 2px;
                            }
                        }
                    }
                }
            }

            .content-sign-up {
                cursor: default;
                position: absolute;
                top: 0;
                left: 100%;
                width: 100%;
                height: 100%;
                transition: 0.6s;
                padding: 45px;
                text-align: center;
                display: flex;
                align-items: center;
                justify-content: center;
                flex-wrap: wrap;

                &.active {
                    transition: 0.6s;
                    left: 0;
                }

                .wrap--content-sign-up {
                    display: flex;
                    flex-wrap: wrap;
                    align-items: center;
                    justify-content: center;
                    width: 100%;

                    .greetings {
                        width: 100%;
                        text-align: center;
                        margin-bottom: 30px;
                        font-size: 20px;
                        line-height: 30px;
                        font-weight: 400;
                        font-family: 'Lato';

                        span {
                            text-transform: capitalize;
                            display: inline-block;
                            background: var(--accent-color);
                            -webkit-background-clip: text;
                            -webkit-text-fill-color: transparent;
                        }
                    }

                    form {
                        width: 90%;

                        .input-control {
                            width: 100%;
                            margin: auto auto 20px auto;

                            input {
                                width: 100%;
                                height: 45px;
                                border: 1px solid #ccc;
                                box-shadow: none;
                                background: transparent;
                                border-radius: 4px;
                                padding-left: 12px;
                            }
                        }

                        button {
                            width: 100%;
                            transition: 0.45s;
                            height: 50px;
                            color: #fff;
                            text-transform: uppercase;
                            font-family: 'Montserrat';
                            font-size: 14px;
                            font-weight: bold;
                            line-height: 22px;
                            text-align: center;
                            transition: 0.3s cubic-bezier(.25, .8, .95, 1);
                            transition: padding 0s;
                            background: var(--accent-color);

                            &:hover {
                                background: transparent;
                                color: #6c6c6c;
                                border: 1px solid #c6c6c6;
                            }
                        }
                    }
                }
            }

            .close-login {
                cursor: pointer;
                width: 100px;
                padding: 12px;
                text-align: center;
                margin-top: 20px;
                position: absolute;
                bottom: 8px;
                margin-left: auto;
                margin-right: auto;
                left: 0;
                right: 0;
                font-size: 16px;
                color: #333;

                span {
                    font-size: 14px;
                    display: inline-block;
                    color: #666;
                    font-weight: 700;
                    letter-spacing: 1px;

                    &:first-child {
                        margin-left: 2px;
                    }
                }
            }
        }
    }
}


@media(min-width:320px) and (max-width:600px) {
    .sign-in-modal .inner--sign-in-modal {
        min-width: auto;
        width: 90%;
    }
}
.modal-input-select{
    width: 100%;
    padding: 10px 8px;
    border: 1px solid #d4cbcb;
    margin-bottom: 20px;
}
.modal-input {
    width: 100%;
    padding: 8px 8px;
    border: 1px solid #d4cbcb;
    margin-bottom: 8px;
    transition: border-color 0.3s ease-in-out;
}

.modal-input:focus {
    border: 1px solid var(--accent-color) !important;
    outline: none !important;
}

.modal-input-select {
    width: 100%;
    padding: 10px 8px;
    border: 1px solid #d4cbcb;
    margin-bottom: 20px;
    transition: border-color 0.3s ease-in-out;
}

.modal-input-select:focus {
    border: 1px solid var(--accent-color) !important;
    outline: none !important;
  }

.modal-input-file{
    width: 100%;
    padding: 5px 8px;
    border: 1px solid #d4cbcb;
    margin-bottom: 20px;
    transition: border-color 0.3s ease-in-out;
}

.modal-input-file:focus {
    border: 1px solid var(--accent-color) !important;
    outline: none !important;
}



.modal-input-file {
    display: none; /* Hide the default file input */
  }

  .file-label {
    display: block;
    background-color: #f0f0f0;
    color: #777;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
  }

  .file-label:hover {
    background-color: #e0e0e0;
  }

  .file-container {
    display: flex;
    align-items: center;
  }

  .file-name {
    margin-left: 10px;
    color: #333;
  }

  .green-background {
    background-color: #28a745 !important;
    color: white;
  }





#image-preview {
    position: relative;
    display: inline-block;
  }

  .imagePreview {
    height: 200px;
    width: 180px;
    object-fit: cover; /* This ensures the image fits the box without distortion */
    border: 3px dashed #B0B0B0; /* Ash color dashed border */
    border-radius: 10px; /* Rounded corners */
  }

  .upload-btn {
    display: inline-block;
    padding: 5px 5px;
    font-size: 12px;
    font-weight: bold;
    color: white;
    background: var(--accent-color);
    cursor: pointer;
    border-radius: 5px;
    position: absolute;
    bottom: 10px; /* Position at the bottom */
    left: 50%;
    transform: translateX(-50%); /* Center the button horizontally */
    text-align: center;
    z-index: 2; /* To make sure the label is above the image */
  }

 .icon-close{
    color: var(--accent-color);;
    font-weight: bold;
    font-size: 1.5rem;
    border-radius: 50%;
    background: #fff;
    padding: 0px 2px;
    margin: 0;
 }
