/* CSS Document */
/* DEBUT LOADER DESIGN*/
.media_preview {
    height: 200px;
    min-height: 200px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    max-width: 100%;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
    background-color: #f5f5f5;
    display: block;
}

/* Media preview in groups */
.arx-cpc-group-item .media_preview {
    height: 150px;
    min-height: 150px;
    margin-bottom: 10px;
}
#preloader {
    position: fixed;
	background-color: #ffffff70;
	display: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #b8c617;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}
#loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #eb7f08;
    -webkit-animation: spin 3s linear infinite;
    animation: spin 3s linear infinite;
}
#loader:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #ff3712;
    -webkit-animation: spin 1.5s linear infinite;
    animation: spin 1.5s linear infinite;
}
@-webkit-keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}/* FIN LOADER DESIGN*/

#wpfooter {
	display:none !important;
}
#parametres-club-metabox .inside {
	background-color: #C3C3C3;
	padding-top:20px;
}
#parametres-club-metabox h2 {
	text-transform: uppercase;
	font-size:20px;
}
.arx_container_onglets_club {
	display:flex;
	
}

.arx_container_onglets_club .onglet_nav {
	padding:15px;
	font-size:18px;
	border-left:solid 1px #000;
	border-top:solid 1px #000;
	border-right:solid 1px #000;
	cursor:pointer;
	position:relative;
	background-color:#F4F4F4;
	margin-right:5px;
}
.arx_container_onglets_club .onglet_nav:last-child {
	border-right:solid 1px #000;
}

.arx_container_onglets_club .onglet_nav.active {
	border-bottom:solid 1px #fff;
	font-weight:600;
	background-color: #fff;
	
}
.arx_container_onglets_club .onglet_nav.active:before {
	display:block;
	content:"";
	height:3px;
	width:100%;
	background-color: #fff;
	position:absolute;
	bottom:-3px;
	left:0px;
}


.arx_onglet_club {
	padding:15px;
	border:solid 1px #000;
	display:none;
	background-color: #fff;
}
.arx_onglet_club.active {
	display:block;
}

.arx_onglet_club label {
	color: #3c434a;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
	font-size:15px;
}

.arx_onglet_club input, .arx_onglet_club textarea, .arx_onglet_club select, .arx_onglet_club date {
	padding:10px;
	font-size:14px;
	width:100% !important;
}
.arx_onglet_club input[type=checkbox]{
	width:auto !important;
}
.arx_onglet_club input[type=color]{
	padding:0px !important;
}

.arx_admin_liste_custom_posts_check {
	display:flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.arx_admin_liste_custom_posts_check label {
	display:block;
	padding:10px;
	margin:0px 10px 10px 0px;
	background-color: #EFEFEF;
	border:solid 2px #fff;
}
.arx_admin_liste_custom_posts_check label.active {
	border:solid 2px #000;
}

.content_list_json .container_img_preview {
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    height: 300px;
}
.content_list_json {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
	column-gap: 20px;
    row-gap: 20px;
}
.content_list_json .single_loop {
    flex: 0 1 40%;
    background-color: #f6f6f6;
    border-radius: 25px;
    border: solid 3px #b5b5b5;
    padding: 30px;
}

.arx_container_add_json .error, .error {
    border: 1px solid #E85252 !important;
    box-shadow: 0px 0px 6px rgb(232 82 82 / 50%);

}
.arx_container_add_json span.error, span.error {
    border: 0px solid #E85252 !important;
    box-shadow: none;
	color: #E85252;
}
textarea.json_content{
	display: none;
}
.arx_container_add_json button#add {
    padding: 10px;
    font-size: 14px;
}
/*STYLE ARX CPC BDD - DEBUT*/
.arx_container_modify_json.arx_container_modify_pmc_sous_membre, .arx_cpc_form_modify .arx_container_modify_json {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
	width: 40%;
}
.arx_container_modify_json.arx_container_modify_pmc_sous_membre p, .arx_cpc_form_modify .arx_container_modify_json p{
    padding: 5px;
	flex: 1 1 45%;
/*	flex: 0 0 45%;*/
}
.arx_cpc_form_modify{
	background-color: #ededed;
}

.arx_cpc_form_modify div, .div_add_occurence {
/*    display: block;*/
    height: 0px;
    overflow: hidden;
	transition: height 0.5s ease-in;
}
.container_btn_show_div_add {
    margin-top: 30px;
}
.arx_cpc_form_modify.show div, .div_add_occurence.show{
    height: 600px;
}
.container_btn_modify, .container_btn_add{
	flex-basis: 100%;
}
.arx_container_add_json.arx_container_add_pmc_sous_membre, .arx_container_add_json{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
	width: 40%;
/*    text-align: center;*/
/*    margin: auto;*/
}
.arx_container_add_json.arx_container_add_pmc_sous_membre p, .arx_container_add_json p{
    padding: 5px;
	flex: 1 1 45%;
}
/*STYLE ARX CPC BDD - FIN*/


/* DÉBUT - Gestion des input tags */
/* Tags input styling for ARX Custom Post Constructor */
.arx-tags-input {
    position: relative;
    width: 100%;
}

.arx-tags-input input[type="text"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.4;
    transition: border-color 0.3s ease;
}

.arx-tags-input input[type="text"]:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px rgba(0, 115, 170, 0.2);
}

.arx-tags-input input[type="hidden"] {
    display: none;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    min-height: 32px;
    padding: 4px;
    border-radius: 4px;
}

.tag {
    display: inline-flex;
    align-items: center;
    background-color: #e1e1e1;
    color: #333;
    padding: 4px 8px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
    transition: all 0.2s ease;
    cursor: default;
}

.tag:hover {
    background-color: #d1d1d1;
}

.tag-text {
    margin-right: 4px;
}

.tag-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background-color: #999;
    color: white;
    border-radius: 50%;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-left: 4px;
}

.tag-remove:hover {
    background-color: #666;
}

.tag-remove:active {
    background-color: #444;
}

/* Responsive design */
@media (max-width: 768px) {
    .arx-tags-input input[type="text"] {
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .tags-container {
        gap: 6px;
        margin-top: 6px;
    }
    
    .tag {
        font-size: 12px;
        padding: 3px 6px;
    }
    
    .tag-remove {
        width: 14px;
        height: 14px;
        font-size: 11px;
    }
}

/* WordPress admin specific styling */
.wp-admin .arx-tags-input input[type="text"] {
    border-color: #8c8f94;
}

.wp-admin .arx-tags-input input[type="text"]:focus {
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

.wp-admin .tag {
    background-color: #f0f0f1;
    color: #2c3338;
}

.wp-admin .tag:hover {
    background-color: #e5e5e5;
}

.wp-admin .tag-remove {
    background-color: #8c8f94;
}

.wp-admin .tag-remove:hover {
    background-color: #6c7781;
}

/* FIN - Gestion des input tags */

/* ============================================
   GROUP - Repeatable fields styling
   ============================================ */

.arx-cpc-group-container {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.arx-cpc-group-items {
    margin: 15px 0;
}

.arx-cpc-group-item {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
}

.arx-cpc-group-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.arx-cpc-group-item-label {
    font-weight: bold;
    color: #333;
}

.arx-cpc-group-item-content {
    margin-top: 10px;
}

.arx-cpc-group-add {
    margin-top: 10px;
}

.arx-cpc-group-remove {
    margin-left: 10px;
}

.arx-cpc-upload-loading {
    padding: 10px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
    color: #666;
    font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .arx-cpc-group-item-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .arx-cpc-group-remove {
        margin-left: 0;
        margin-top: 10px;
    }
}