.custom-modal-open {
    font-size: 14px;
    background-color: #f59a01;
    color: #ffffff;
    border: none !important;
    display: unset;
    margin-bottom:10px;
    width: auto;
    line-height: 1em !important;
    padding: 16px 20px !important;
    text-decoration: none !important;
    text-align: center;
    text-transform: none !important;
    font-weight: normal !important;
    overflow: hidden;
    position: relative;
    transition: 0.25s;
    border-radius: 4px !important;
    box-sizing: border-box;
    border-radius: 4px !important;
    box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08);
    opacity: 1;"
}

.custom-modal{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.7);
    z-index:9999;
}
.custom-modal-content{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    width:90%;
    height:90%;
    background:#FCFCFC;
    padding:20px;
    border-radius:10px;
    overflow-x:auto;
    overflow-y:scroll;
}
.custom-modal-close{
    position:sticky;
    top:0;
    float:none;
    display:block;
    text-align:right;
    cursor:pointer;
    font-size:28px;
    background:#FCFCFC;
	color:#f59a01 !important;
}


/**
.heading {
	line-height: 2em !important;
	font-family:Comic Neue !important;
	font-weight:bold !important;
	font-size:40px !important;
	color:#7CB92D !important;
}

.title {
	line-height: 2em !important;
	font-family:Comic Neue !important;
	font-weight:bold !important;
	font-size:28px !important;
	margin-top:50px !important;
	color:#f59a01 !important;
}

.custom-checkbox input[type="radio"],
.custom-checkbox[type="checkbox"] {
	background-color:#FFFFFF !important;
	border:1px solid #CCCCCC !important;
	color:#686868 !important;
    accent-color: #f59a01 !important;
}

.label {
	padding-top:10px;
	font-weight:bold;
}

.fields-container {
	margin-top:20px;
}

.custom-field {
	width:100% !important;
	background-color:#FFFFFF !important;
	border:1px solid #CCCCCC !important;
	color:#686868 !important;
}

.button_loading_message_container {
	min-height:100px;
}
.custom-button {
	margin-top:50px !important;
	border-radius:4px;
}

.um-button {
	margin-top:50px !important;
	width:auto !important;
}

.upload-button {
    display: inline-block;
    padding: 10px 18px;
    background: #7cb92d;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.upload-button:hover {
    background: #018136;
}
*/




/**
 * AFFICHAGE REFERRAL LINK
*/

.umrp-copy-wrap {
	display: flex !important;
	background-color:#FCFCFC !important;
	padding:15px !important;
	border-color: #CCCCCC !important;
	font-weight:bold !important;
	font-size: 14px !important;
	color:#f59a01 !important;
	align-items:stretch;
	gap:10px;
	width:80%%;
	flex-wrap:nowrap;
}
.umrp-ref-link {
	display: flex !important;
	background-color:#FFFFFF !important;
	padding:15px !important;
	border-color: #CCCCCC !important;
	font-weight:bold !important;
	font-size: 14px !important;
	color:#f59a01 !important;
	align-items:stretch;
	gap:10px;
	width:80%%;
	flex-wrap:nowrap;
}
.umrp-copy-btn {
	background:#f59a01;
	max-height: 40px;
	color:#fff;
	border:none;
	border-radius:4px;
	font-size: 12px;
	font-weight:bold;
	cursor:pointer;
	transition:all .25s ease;
}
/**
 * AFFICHAGE CARTE PARRAIN DANS ACCOUNT > REFERRAL
 */

.umrp-referrer-card {
    text-align: center;
    padding: 16px;
    border: 1px solid #CCCCCC;
    border-radius: 15px;
    background: #FCFCFC;
    max-width: 240px;
}

.umrp-referrer-avatar img {
    border-radius: 50%;
    margin-bottom: 10px;
}

.umrp-referrer-name {
    font-weight: 600;
    margin: 6px 0;
}

.umrp-referrer-link {
    display: inline-block;
    margin-top: 6px;
}

/**
 * AFFICHAGE CARTES FILLEULS DANS ACCOUNT > REFERRAL
 */

.umrp-referred-users {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.umrp-user-card {
    text-align: center;
    padding: 16px;
    border: 1px solid #CCCCCC;
    border-radius: 15px;
    background: #FCFCFC;
    position: relative;
}

.umrp-user-card img {
    border-radius: 50%;
    margin-bottom: 10px;
}

.umrp-user-card-name {
    font-weight: 600;
    margin-bottom: 6px;
}

.umrp-user-card-link {
    font-size: 14px;
}

.umrp-user-card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f59a01;
    color: #fff;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 10px;
}