.cg-okto-page-title {
    margin: 35px;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.2;
}

.cg-okto-select-input-group {
	display: flex;
	flex-direction: row;
}

.cg-okto-input-first-element {
	width: 20%;
	height: calc(1.5em + .75rem + 2px);
	font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem 0 0 0.25rem;
    border-right: none;
    padding: .375rem .75rem;
    background-color: #e9ecef;
    opacity: 1;
    margin-top: 0.5rem;
}

.cg-okto-input-second-element {
    width: 80%;
	height: calc(1.5em + .75rem + 2px);
	font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: white;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0 0.25rem 0.25rem 0;
    padding: .375rem .75rem;
    margin-top: 0.5rem;
}

.cg-okto-input-group {
	display: flex;
	justify-content: space-between;
	align-items: end;
}

.cg-okto-input-or {
	margin-bottom: 0.7rem;
}

.cg-okto-input {
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.cg-okto-input-half {
    display: flex;
    flex-direction: column;
    justify-content: start;
    width: 42%
}

.cg-okto-input-mandatory-label {
    width: fit-content;
    position: relative;
    font-weight: 500;
}

.cg-okto-input-mandatory-label::after {
    position: absolute;
    content: "(*)";
    right: -25px;
}

.cg-okto-input-element {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    margin-top: 0.5rem;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: white;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.cg-okto-input-element[readonly],
.cg-okto-input-second-element[readonly] {
    background-color: #e9ecef;
    opacity: 1;
}

.cg-okto-button,
.cg-okto-button:hover,
.cg-okto-button:focus,
.cg-okto-button:active {
    color: white;
    background-color: #1e7e34;
    border-color: #19682b;
    height: 45px;
    width: fit-content;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    border: 2px solid;
    padding: .375rem 3rem;
    margin-top: calc((1.5em + .75rem + 2px)/2);
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.35rem;
}

.cg-okto-btn-red,
.cg-okto-btn:hover,
.cg-okto-btn:focus,
.cg-okto-btn:active {
	background-color: #E02121 !important;
}

.cg-okto-container {
    width: 100%;
    height: 100%;
    padding: 0 10px;
}

.cg-hide {
	display: none;
}

#cg-okto-result-modal,
#cg-oktopvr-transazioni-result-modal,
#cg-okto-result-modal-associa,
#cg-okto-result-modal-disassocia,
#cg-okto-result-modal-disassocia-generico,
#cg-okto-result-modal-registrazione {
    min-height: calc((1.5em + .75rem + 2px)*2);
    width: 100%;
    border-radius: 0.35rem;
    border: 2px solid;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cg-okto-result-modal-success {
    background-color: #eafaee;
    border-color: #27a544 !important;
}

.cg-okto-result-modal-error {
    background-color: #ffece6;
    border-color: #cc3300 !important;
}

.cg-okto-result-modal {
    background-color: #f2f2f2;
    border-color: #666666 !important;
}

.cg-okto-msg {
    margin: 0 !important;
    display: inline;
    max-width: 100%;
    word-wrap: break-word
}

/* MODAL */

.cg-okto-popup {
  width: 320px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  color: #000;
  text-align: center;
  border-radius: 20px;
  padding: 30px;
}

.cg-okto-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cg-okto-list > li {
    margin-top: 0.5rem;
    text-align: center;
    font-weight: 600;
}

.cg-okto-list > li > span {
    font-weight: 300;
}

.cg-okto-qrcode-container {
	display: flex;
	justify-content: center;
}

.cg-okto-button-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
}

.cg-oktopvr-container-transactions {
	min-height: 420px;
}