/* Estilização da lista de pedidos */
#iframe-printbooks {
	height: 92vh!important;
}

#printBooksModal {
	overflow: inherit!important;
	z-index: 99999!important;
}

#printBooksModal > div {
	margin: 0 !important;
	width: 100% !important;
	height: 100vh !important;
	overflow: hidden !important;
	padding: 0 15px !important;
}

.no-scroll {
    position: fixed!important;
    width: 100%!important;
}

#layoutFormModal,
#briefingFormModal {
	z-index: 99999!important;
}


#layoutFormModal > div,
#briefingFormModal > div {
	margin: 0 !important;
	width: 100% !important;
	padding: 10 15px !important;
}

/* #briefingFormModal > div,
#briefingFormModal{
    overflow: auto !important;
}

#briefingFormModal > div{
	height: inherit !important;
} */

table.customer-orders tr > td {
	vertical-align: middle;
}

.customer-orders {
        list-style-type: none;
        padding: 0;
        margin: 0;
        background-color: #fff;
        border: 1px solid #ddd;
        border-radius: 5px;
    }

.customer-orders li {
        padding: 8px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-family: Glacial, sans-serif;
        color: #333;
        border-bottom: 1px solid #ddd; 
    }

.customer-orders li:last-child {
        border-bottom: none;
    }

.order-info {
        font-weight: bold;
    }

.product-name {
        color: #000;
    }

.customize-button {
        font-weight: 600!important;
        background-color: #28a745!important;
        color: white!important;
        border: none!important;
        padding: 10px 20px!important;
        cursor: pointer!important;
        border-radius: 5px!important;
        font-size: 14px!important;
        transition: background-color 0.3s ease, transform 0.3s ease!important;
        box-shadow: none!important;
        text-transform: initial !important;
}

.customize-button:hover {
        background-color: #218838!important;
        transform: scale(1.05)!important;
}

.customize-button[disabled] {
        background-color: #000!important;
        cursor: not-allowed!important;
}

.m2-custom-css label {
    font-size: 14px;
    font-weight: 500;
    color: black;
    margin-left: 8px;
    line-height: 1.2rem;
}

.m2-custom-css .label {
  display: inline;
  padding: .2em .6em .3em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: .25em;
}

.m2-custom-css .form-group {
    margin-bottom: 15px;
}


.m2-custom-css .input-group {
    position: relative;
    display: table;
    border-collapse: separate;
}
.m2-custom-css .input-group[class*="col-"] {
    float: none;
    padding-right: 0;
    padding-left: 0;
}
.m2-custom-css .input-group .form-control {
    position: relative;
    z-index: 2;
    float: left;
    width: 100%;
    margin-bottom: 0;
}
.m2-custom-css .input-group .form-control:focus {
    z-index: 3;
}

.m2-custom-css .form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555555;
    background-color: #ffffff;
    background-image: none;
    border: 1px solid #cccccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.m2-custom-css .form-control:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, 0.6);
}

.m2-custom-css .form-control::-moz-placeholder {
    color: #999999;
    opacity: 1;
}
.m2-custom-css  .form-control:-ms-input-placeholder {
    color: #999999;
}
.m2-custom-css .form-control::-webkit-input-placeholder {
    color: #999999;
}
.m2-custom-css .form-control::-ms-expand {
    background-color: transparent;
    border: 0;
}
.m2-custom-css .form-control[disabled],
.m2-custom-css .form-control[readonly],
.m2-custom-css fieldset[disabled] .form-control {
    background-color: #eeeeee;
    opacity: 1;
}
.m2-custom-css .form-control[disabled],
.m2-custom-css fieldset[disabled] .form-control {
    cursor: not-allowed;
}
.m2-custom-css textarea.form-control {
    height: auto;
}
.m2-custom-css .form-group {
    margin-bottom: 15px;
}

.m2-custom-css .form-label {
    margin-bottom: 10px;
    margin-left: 0px;
    font-weight: 600;
    color: rgb(74, 74, 74);
}

.m2-custom-css .form-label, .m2-custom-css .col-form-label {
	letter-spacing: inherit;
	line-height: 1.4rem;
	font-size: 1.1rem;
}

.m2-custom-css form .form-label {
	font-weight: 600 !important;
}

/* Bootstrap-inspired CSS for basic layout and typography */

/* Container */
.m2-custom-css .container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1200px;
}

/* Row */
.m2-custom-css .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

/* Columns */
.m2-custom-css .col {
    flex: 1;
    padding-right: 15px;
    padding-left: 15px;
    max-width: 100%;
    box-sizing: border-box;
}

.m2-custom-css .col-1 {
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
}

.m2-custom-css .col-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
}

.m2-custom-css .col-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

.m2-custom-css .col-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.m2-custom-css .col-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
}

.m2-custom-css .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.m2-custom-css .col-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
}

.m2-custom-css .col-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}

.m2-custom-css .col-9 {
    flex: 0 0 75%;
    max-width: 75%;
}

.m2-custom-css .col-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
}

.m2-custom-css .col-11 {
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
}

.m2-custom-css .col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

/* Typography */
.m2-custom-css .font-weight-bold {
    font-weight: 700;
}

.m2-custom-css .font-weight-normal {
    font-weight: 400;
}

.m2-custom-css .font-weight-light {
    font-weight: 300;
}

/* Display utilities */
.m2-custom-css .d-none {
    display: none !important;
}

.m2-custom-css .d-block {
    display: block !important;
}

.m2-custom-css .d-flex {
    display: flex !important;
}

.m2-custom-css .d-inline {
    display: inline !important;
}

.m2-custom-css .d-inline-block {
    display: inline-block !important;
}

/* Bootstrap-inspired CSS for basic layout and typography */

/* Row */
.m2-custom-css .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

/* Columns */
.m2-custom-css .col {
    flex: 1;
    padding-right: 15px;
    padding-left: 15px;
    max-width: 100%;
    box-sizing: border-box;
}

.m2-custom-css .col-1 {
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
}

.m2-custom-css .col-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
}

.m2-custom-css .col-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

.m2-custom-css .col-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.m2-custom-css .col-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
}

.m2-custom-css .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.m2-custom-css .col-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
}

.m2-custom-css .col-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}

.m2-custom-css .col-9 {
    flex: 0 0 75%;
    max-width: 75%;
}

.m2-custom-css .col-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
}

.m2-custom-css .col-11 {
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
}

.m2-custom-css .col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

/* Typography */
.m2-custom-css .font-weight-bold {
    font-weight: 700;
}

.m2-custom-css .font-weight-normal {
    font-weight: 400;
}

.m2-custom-css .font-weight-light {
    font-weight: 300;
}

/* Display utilities */
.m2-custom-css .d-none {
    display: none !important;
}

.m2-custom-css .d-block {
    display: block !important;
}

.m2-custom-css .d-inline {
    display: inline !important;
}

.m2-custom-css .flex-row {
    flex-direction: row !important;
}

.m2-custom-css .flex-col {
    flex-direction: column!important;
}

.m2-custom-css .d-inline-block {
    display: inline-block !important;
}

/* Margin utilities */
.m2-custom-css .mx-auto {
    margin-right: auto !important;
    margin-left: auto !important;
}

.m2-custom-css .mx-0 {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.m2-custom-css .my-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.m2-custom-css .m-0 {
    margin: 0rem !important;
}

.m2-custom-css .mb-0 {
    margin-bottom: 0rem !important;
}

.m2-custom-css .mb-1 {
    margin-bottom: 0.25rem !important;
}

.m2-custom-css .mb-2 {
    margin-bottom: 0.5rem !important;
}

.m2-custom-css .mb-3 {
    margin-bottom: 1rem !important;
}

.m2-custom-css .mb-4 {
    margin-bottom: 1.5rem !important;
}

.m2-custom-css .mb-5 {
    margin-bottom: 3rem !important;
}

.m2-custom-css .mt-0 {
    margin-top: 0rem !important;
}

.m2-custom-css .mt-1 {
    margin-top: 0.25rem !important;
}

.m2-custom-css .mt-2 {
    margin-top: 0.5rem !important;
}

.m2-custom-css .mt-3 {
    margin-top: 1rem !important;
}

.m2-custom-css .mt-4 {
    margin-top: 1.5rem !important;
}

.m2-custom-css .mt-5 {
    margin-top: 3rem !important;
}

.m2-custom-css .ml-0 {
    margin-left: 0rem !important;
}

.m2-custom-css .ml-1 {
    margin-left: 0.25rem !important;
}

.m2-custom-css .ml-2 {
    margin-left: 0.5rem !important;
}

.m2-custom-css .ml-3 {
    margin-left: 1rem !important;
}

.m2-custom-css .ml-4 {
    margin-left: 1.5rem !important;
}

.m2-custom-css .ml-5 {
    margin-left: 3rem !important;
}

.m2-custom-css .mr-1 {
    margin-right: 0.25rem !important;
}

.m2-custom-css .mr-2 {
    margin-right: 0.5rem !important;
}

.m2-custom-css .mr-3 {
    margin-right: 1rem !important;
}

.m2-custom-css .mr-4 {
    margin-right: 1.5rem !important;
}

.m2-custom-css .mr-5 {
    margin-right: 3rem !important;
}

/* Card */
.m2-custom-css .card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	word-wrap: break-word;
	background-color: #fff;
	background-clip: border-box;
	border: 0 solid #d9dee3;
	border-radius: 0.5rem;
    padding: 1rem;
}

.m2-custom-css .card-header {
    background-color: #f7f7f7;
    border-bottom: 1px solid #ddd;
    padding: 0.75rem 1rem;
    font-weight: 700;
}

.m2-custom-css .card-body {
    padding: 1rem;
}

.m2-custom-css .card-footer {
    background-color: #f7f7f7;
    border-top: 1px solid #ddd;
    padding: 0.75rem 1rem;
    text-align: right;
}

/* Shadows */
.m2-custom-css .shadow {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.m2-custom-css .shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.m2-custom-css .shadow-lg {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Padding utilities */
.m2-custom-css .px-auto {
    padding-right: auto !important;
    padding-left: auto !important;
}

.m2-custom-css .px-0 {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.m2-custom-css .py-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.m2-custom-css .p-0 {
    padding: 0rem !important;
}

.m2-custom-css .pb-0 {
    padding-bottom: 0rem !important;
}

.m2-custom-css .pb-1 {
    padding-bottom: 0.25rem !important;
}

.m2-custom-css .pb-2 {
    padding-bottom: 0.5rem !important;
}

.m2-custom-css .pb-3 {
    padding-bottom: 1rem !important;
}

.m2-custom-css .pb-4 {
    padding-bottom: 1.5rem !important;
}

.m2-custom-css .pb-5 {
    padding-bottom: 3rem !important;
}

.m2-custom-css .pt-0 {
    padding-top: 0rem !important;
}

.m2-custom-css .pt-1 {
    padding-top: 0.25rem !important;
}

.m2-custom-css .pt-2 {
    padding-top: 0.5rem !important;
}

.m2-custom-css .pt-3 {
    padding-top: 1rem !important;
}

.m2-custom-css .pt-4 {
    padding-top: 1.5rem !important;
}

.m2-custom-css .pt-5 {
    padding-top: 3rem !important;
}

.m2-custom-css .pl-0 {
    padding-left: 0rem !important;
}

.m2-custom-css .pl-1 {
    padding-left: 0.25rem !important;
}

.m2-custom-css .pl-2 {
    padding-left: 0.5rem !important;
}

.m2-custom-css .pl-3 {
    padding-left: 1rem !important;
}

.m2-custom-css .pl-4 {
    padding-left: 1.5rem !important;
}

.m2-custom-css .pl-5 {
    padding-left: 3rem !important;
}

.m2-custom-css .pr-0 {
    padding-right: 0rem !important;
}

.m2-custom-css .pr-1 {
    padding-right: 0.25rem !important;
}

.m2-custom-css .pr-2 {
    padding-right: 0.5rem !important;
}

.m2-custom-css .pr-3 {
    padding-right: 1rem !important;
}

.m2-custom-css .pr-4 {
    padding-right: 1.5rem !important;
}

.m2-custom-css .pr-5 {
    padding-right: 3rem !important;
}

.text-danger {
	color: rgba(255, 62, 29, 1) !important;
}

.m2-custom-css small, .m2-custom-css .small {
	font-size: 80%;
    color: #777;
}

.m2-custom-css input[type="radio"] {
	width: 15px;
	height: 15px;
    margin-right: 3px;
}

.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Suporte para rolagem suave em dispositivos touch */
  }
  
  .table-responsive > .table {
    margin-bottom: 0; /* Remove espaçamento inferior */
    white-space: nowrap; /* Evita quebras de linha dentro das células */
  }

  
#m2-loading {
    margin-top: 20px;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

#m2-loading img {
    animation: spin 1s linear infinite;
    width: 22px;
    height: 22px;
    margin-right: 5px;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}