@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400,500,700');


@font-face {
    font-family: 'Nunito-Bold';
    src: url('../webfont/Nunito-ExtraBold.ttf') format('truetype');
    /* Safari, Android, iOS */
    font-weight: bold;
    font-style: bold;
}

@font-face {
    font-family: 'Nunito-Regular';
    src: url('../webfont/Nunito-Regular.ttf') format('truetype');
    /* Safari, Android, iOS */
    font-weight: regular;
    font-style: regular;
}


html {
    position: relative;
    min-height: 100%;
    height: 100%;
    padding: 0px;
    margin: 0px;
    font-family: 'Montserrat';
    font-size: 0.8em;
}

body {
    background-color: #EDEDED;
    display: flex;
    justify-content: center;
    margin: 50px 0 0 0;
}

.footer {
    height: 50px;
}


.center-content-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin-top: -50px;
    width: 530px;
}

.center-content-box {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 30px 20px;
    width: 100%;

    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;

        .logo {
            width: 154px;
            /*height: 50px;*/
        }

        .subtitle-block {
            display: flex;
            align-items: center;
            text-align: right;
            width: 41%;

            .line {
                border-left: 2px solid #404040;
                height: 28px;
                margin: 0 5px;
            }

            .text {
                text-align: right;
                max-width: 100%;

                h2 {
                    margin: 0;
                    font-size: 12px;
                    color: #666;
                    font-weight: 500;
                }

                h1 {
                    color: #686868;
                    margin: 0;
                    font-size: 24px;
                    font-weight: bold;
                    white-space: normal;
                }
            }
        }
    }

    .content-index {
        display: flex;
        justify-content: space-around;
        gap: 20px;

        .button-card {
            text-decoration: none;
            color: inherit;
            background-color: #f6f6f6;
            border-radius: 10px;
            padding: 15px;
            display: flex;
            align-items: center;
            width: 45%;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.2s ease;

            &:hover {
                background-color: #eaeaea;
                transform: translateY(-5px);
            }

            .icon {
                padding-right: 15px;
            }

            .text {
                display: flex;
                flex-direction: column;
                align-items: flex-start;

                h3 {
                    margin: 0;
                    font-size: 16px;
                    font-weight: bold;
                }

                p {
                    margin: 0;
                    font-size: 14px;
                    color: #666;
                    font-weight: 500;
                }
            }
        }
    }

    .content-search {
        display: block;
        gap: 20px;

        .title-form {
            font-weight: bold;
            text-transform: uppercase;
            font-size: 12px;
            padding-bottom: 3px;
            border-bottom: 1px solid #686868;
        }

        .form-container {
            padding-top: 10px;

            .input-container {
                display: block;
                margin-bottom: 20px;

                label {
                    display: block;
                    margin-bottom: 5px;
                    font-weight: 500;
                }

                input {
                    width: 100%;
                    background-color: #F7F7F7;
                    padding: 8px;
                    border: 1px solid #ccc;
                    border-radius: 5px;
                    font-size: 12px;
                    box-sizing: border-box;

                    &:focus {
                        border-color: #404040;
                        outline: none;
                    }
                }
            }
        }

        .footer-form-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 20px;
        }

        .submit-button-container {
            flex-grow: 1;
            display: flex;
            justify-content: flex-start;

            .button-submit {
                background-color: #D2D2D2;
                color: #333;
                font-weight: bold;
                padding: 8px 20px;
                border: none;
                border-radius: 5px;
                text-align: center;
                cursor: pointer;
                transition: background-color 0.3s ease;

                &:hover {
                    background-color: #B1B1B1;
                }
            }
        }

        .back-button-container {
            display: flex;
            justify-content: flex-end;
            font-size: 12px;
            color: #333;
            cursor: pointer;

            a {
                text-decoration: none;
                color: #333;
                transition: color 0.3s ease;

                &:hover {
                    color: #404040;
                }
            }
        }
    }
}

.container_rma {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 90%;
    margin: 0 auto;

    .left-column {
        width: 30%;
        background-color: #ffffff;
        border-radius: 15px;
        margin-right: 2%;
        padding: 20px;
        box-sizing: border-box;

        .logo-container {
            .logo {
                width: 154px;
                /*height: 50px;*/
            }
        }
    }

    .right-column {
        width: 70%;
        background-color: #ffffff;
        border-radius: 15px;
        padding: 20px;
        box-sizing: border-box;

        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            padding: 15px;

            .title-block {
                font-size: 18px;
                font-weight: bold;
            }

            .subtitle-block {
                display: flex;
                align-items: center;
                text-align: right;
                width: 20%;

                .line {
                    border-left: 2px solid #404040;
                    height: 28px;
                    margin: 0 5px;
                }

                .text-container {
                    text-align: right;
                    max-width: 100%;

                    .text-reporting {
                        margin: 0;
                        font-size: 12px;
                        color: #666;
                        font-weight: 500;
                    }

                    .text-rma {
                        color: #686868;
                        margin: 0;
                        font-size: 24px;
                        font-weight: bold;
                        white-space: normal;
                    }
                }
            }
        }

        .footer-right {
            display: flex;
            justify-content: flex-end;
            padding-right: 15px;

            .back-button-container {
                background-color: #D2D2D2;
                color: #000000;
                text-align: center;
                padding: 10px 20px;
                border-radius: 5px;
                text-decoration: none;
                font-weight: bold;
                line-height: 1;
                transition: background-color 0.3s ease;

                a {
                    text-decoration: none;
                    color: #333;
                    transition: color 0.3s ease;

                }
            }

            .back-button-container:hover {
                background-color: #bfbfbf;
            }
        }

    }

    .new-form-container {
        padding-top: 10px;

        .general_container {
            display: flex;
            flex-direction: column;
            gap: 15px;
            padding: 15px;

            .general-item {
                display: flex;
                flex-direction: column;
                gap: 10px;

                .general-title {
                    font-weight: bold;
                }

                .general-field {
                    width: 100%;

                    .form-field {
                        width: 100%;
                        background-color: #F7F7F7;
                        border: 1px solid #ddd;
                        border-radius: 5px;
                        padding: 8px;
                        box-sizing: border-box;
                    }
                }
            }
        }

        .sections_container {
            width: 100%;
            flex-direction: column;

            .section_content {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                border-radius: 8px;
                box-sizing: border-box;

                .form-item {
                    display: flex;
                    flex-direction: column;
                    gap: 8px;
                    padding: 15px;
                    box-sizing: border-box;

                    label {
                        font-weight: bold;
                        font-size: 0.9rem;
                        color: #333;
                    }

                    input,
                    textarea,
                    select {
                        width: 100%;
                        padding: 8px;
                        font-size: 1rem;
                        border: 1px solid #e3f1ff;
                        border-radius: 4px;
                        box-sizing: border-box;
                        transition: border 0.3s;
                        background-color: #F7F7F7;

                        &:focus {
                            outline: none;
                            border: 1px solid #00a5e4;
                        }
                    }

                    textarea {
                        resize: vertical;
                        min-height: 80px;
                    }
                }
            }
        }

        .file-upload {
            border: 1px dashed #ccc;
            border-radius: 10px;
            padding: 15px;
            text-align: center;
            cursor: pointer;
            position: relative;
            color: #666;
        }

        .file-upload:hover {
            background-color: #f9f9f9;
            border-color: #aaa;
        }

        .file-upload i {
            font-size: 40px;
            color: #aaa;
        }

        .file-upload em {
            color: #00a8cf;
            text-decoration: underline;
            cursor: pointer;
        }

        .footer-form {
            display: flex;
            justify-content: flex-end;
            gap: 10px;
            width: 100%;
            align-items: center;
            margin-top: 20px;

            .back-button-container,
            .submit-button-container {
                display: flex;
                align-items: center;
            }

            .back-button-container {
                a.button-back {
                    background-color: #D2D2D2;
                    color: #000000;
                    text-align: center;
                    padding: 10px 20px;
                    border-radius: 5px;
                    text-decoration: none;
                    font-weight: bold;
                    line-height: 1;
                    transition: background-color 0.3s ease;

                    &:hover {
                        background-color: #B3B3B3;
                    }
                }
            }

            .submit-button-container {
                button.button-submit {
                    background-color: #000000;
                    color: #FFFFFF;
                    text-align: center;
                    padding: 10px 20px;
                    border-radius: 5px;
                    border: none;
                    font-weight: bold;
                    line-height: 1;
                    cursor: pointer;
                    transition: background-color 0.3s ease;

                    &:hover {
                        background-color: #555;
                    }
                }
            }
        }
    }

    .text-justified {
        text-align: justify;
        text-justify: inter-word;
    }

    .detail_container {
        padding-left: 15px;
        padding-right: 15px;

        .rma-info {
            .rma-field-container {
                .field-title {
                    font-weight: bold;
                    margin-bottom: 5px;
                }

                .field-data {
                    margin-bottom: 10px;
                }
            }
        }

        .custom-section-container {
            .custom-section-detail {
                margin-bottom: 15px;

                .fields-container {
                    display: flex;
                    flex-wrap: wrap;
                    gap: 10px;

                    .field-item {
                        flex: 0 1 calc(50% - 20px);
                        display: flex;
                        flex-direction: column;

                        .field-label {
                            font-weight: bold;
                            margin-bottom: 5px;
                        }

                        .field-value {
                            margin-bottom: 10px;
                        }
                    }
                }
            }
        }
    }

    .topic_title {
        margin-bottom: 15px;
        font-size: 13px;
        font-weight: 600;
        color: #a4a4a4;
    }

    .quote-group {
        border-bottom: 1px solid #ADADAD;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .quote-tag {
        display: inline-block !important;
        padding: 2px 8px;
        border-radius: 3px;
        font-size: 9px !important;
        font-weight: bold;
        color: white;
        text-transform: uppercase;
        line-height: 12px;
        margin-bottom: 10px;

        .active {
            background-color: #008f76;
        }

        .inactive {
            background-color: #FF5F5F;
        }
    }

    .text-bold {
        font-weight: bold;
    }

    .quote-download {
        h3 {
            font-size: 14px;
            font-weight: bold;
            margin-bottom: 15px;
        }

        >div {
            display: flex;

            img {
                margin-right: 10px;
                width: 50px;
            }

            div {
                margin-top: 8px;

                span {
                    display: block;
                    font-size: 14px;
                    max-width: 150px;
                    text-overflow: ellipsis;
                    overflow: hidden;
                    margin-bottom: 5px;
                    opacity: 0.5;
                    white-space: nowrap;

                }

                button {
                    text-transform: uppercase;
                    color: #0EB3EE;
                    background: none;
                    font-size: 14px;
                    font-weight: bold;
                    padding: 0;
                    border: none;
                    cursor: pointer;
                }

                button:hover {
                    color: #007BFF;
                }
            }
        }
    }

    .bg-label-green-light {
        background-color: #55efc4;
    }

    .bg-label-green {
        background-color: #00b894;
    }

    .bg-label-cyan-light {
        background-color: #81ecec;
    }

    .bg-label-cyan {
        background-color: #00cec9;
    }

    .bg-label-blue-light {
        background-color: #74b9ff;
    }

    .bg-label-blue {
        background-color: #0984e3;
    }

    .bg-label-purple-light {
        background-color: #a29bfe;
    }

    .bg-label-purple {
        background-color: #6c5ce7;
    }

    .bg-label-yellow-light {
        background-color: #ffeaa7;
    }

    .bg-label-yellow {
        background-color: #fdcb6e;
    }

    .bg-label-orange-light {
        background-color: #fab1a0;
    }

    .bg-label-orange {
        background-color: #fd7e14;
    }

    .bg-label-red-light {
        background-color: #ff7675;
    }

    .label-red {
        background-color: #d63031;
    }

    .bg-label-pink-light {
        background-color: #fd79a8;
    }

    .bg-label-pink {
        background-color: #e84393;
    }

    .bg-label-gray-light {
        background-color: #b2bec3;
    }

    .bg-label-gray {
        background-color: #636e72;
    }
}

.success-message {
    text-align: center;
    background: #FFF;
    max-width: 465px;
    margin: 0 auto;
    border-radius: 10px;
    padding-top: 15px;
    padding-bottom: 20px;

    .success-icon {
        color: #009F4D;
        display: block;
        font-size: 83px;
    }

    .back-icon {
        display: block;
        font-size: 34px;
    }

    h1 {
        line-height: 1.2;
        font-size: 22px;
        margin: 30px auto !important;
        text-transform: none;
        color: #535353 !important;
    }

    .wrapper {
        background: #F4F4F4;
        border: 1px solid #DDDDDD;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 30px 20px;
        font-weight: 700;
        margin-bottom: 30px;
        line-height: 1.4;
        width: 330px;

        span {
            color: #797979;
            font-size: 12px;
            text-transform: uppercase;
        }

        .code {
            font-size: 25px;
            color: #00a8cf;
        }

        div {
            font-size: 12px;
            color: #AFAFAF;
        }
    }

    .footer-container {
        display: flex;
        justify-content: center;
        gap: 10px;
        width: 100%;
        align-items: center;
        margin-top: 20px;

        .back-button-container {
            background-color: #D2D2D2;
            color: #000000;
            text-align: center;
            padding: 10px 20px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: bold;
            line-height: 1;
            transition: background-color 0.3s ease;

            a {
                text-decoration: none;
                color: #333;
                transition: color 0.3s ease;

            }
        }

        .back-button-container:hover {
            background-color: #bfbfbf;
        }
    }
}


.warning-message {
    text-align: center;
    background: #FFF;
    max-width: 465px;
    margin: 0 auto;
    border-radius: 10px;
    padding-top: 15px;
    padding-bottom: 20px;

    .warning-icon {
        color: orange;
        display: block;
        font-size: 83px;
    }

    .back-icon {
        display: block;
        font-size: 34px;
    }

    h1 {
        line-height: 1.2;
        font-size: 22px;
        margin: 30px auto !important;
        text-transform: none;
        color: #535353 !important;
    }

    .wrapper {
        background: #F4F4F4;
        border: 1px solid #DDDDDD;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 30px 20px;
        font-weight: 700;
        margin-bottom: 30px;
        line-height: 1.4;
        width: 330px;

        span {
            color: #797979;
            font-size: 12px;
            text-transform: uppercase;
        }

        .code {
            font-size: 25px;
            color: #00a8cf;
        }

        div {
            font-size: 12px;
            color: #AFAFAF;
        }
    }

    .footer-container {
        display: flex;
        justify-content: center;
        gap: 10px;
        width: 100%;
        align-items: center;
        margin-top: 20px;

        .back-button-container {
            background-color: #D2D2D2;
            color: #000000;
            text-align: center;
            padding: 10px 20px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: bold;
            line-height: 1;
            transition: background-color 0.3s ease;

            a {
                text-decoration: none;
                color: #333;
                transition: color 0.3s ease;

            }
        }

        .back-button-container:hover {
            background-color: #bfbfbf;
        }
    }
}


.error-message {
    text-align: center;
    background: #FFF;
    width: 490px;
    margin: 0 auto;
    border-radius: 10px;
    padding-top: 15px;
    padding-bottom: 20px;

    .error-icon {
        color: red;
        display: block;
        font-size: 83px;
    }

    .back-icon {
        display: block;
        font-size: 34px;
    }

    .back_container {
        padding-left: 50px;
    }

    h1 {
        line-height: 1.2;
        font-size: 22px;
        margin: 30px auto !important;
        text-transform: none;
        color: #535353 !important;
    }

    .wrapper {
        background: #F4F4F4;
        border: 1px solid #DDDDDD;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 30px 20px;
        font-weight: 700;
        margin-bottom: 30px;
        line-height: 1.4;
        width: 330px;

        span {
            color: #797979;
            font-size: 12px;
            text-transform: uppercase;
        }

        .code {
            font-size: 25px;
            color: #00a8cf;
        }

        div {
            font-size: 12px;
            color: #AFAFAF;
        }
    }

    .footer-container {
        display: flex;
        justify-content: center;
        gap: 10px;
        width: 100%;
        align-items: center;
        margin-top: 20px;

        .back-button-container {
            background-color: #D2D2D2;
            color: #000000;
            text-align: center;
            padding: 10px 20px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: bold;
            line-height: 1;
            transition: background-color 0.3s ease;

            a {
                text-decoration: none;
                color: #333;
                transition: color 0.3s ease;

            }
        }

        .back-button-container:hover {
            background-color: #bfbfbf;
        }
    }
}

.error-container {
    color: red;
}


.is-invalid {
    border: 1px solid red !important;
}

.invalid-feedback {
    color: red;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}
