.chrmrtns-wrap{
	font-size: 15px;
	max-width: 1050px;
	position: relative;
}
.chrmrtns-info-wrap{
	max-width:1050px;
	margin:25px 40px 0 20px;
}

.chrmrtns-wrap h1 {
	color: #333333;
    font-size: 2.8em;
    font-weight: 400;
    line-height: 1.2em;
    margin:0;
	padding-top:35px;
}

.chrmrtns-wrap .chrmrtns-callout{
    font-size: 2em;
    font-weight: 300;
    line-height: 1.3;
	margin:1.1em 0 0.2em 0;
}

.chrmrtns-wrap hr{
	display:block;
	clear:both;
	margin:20px 0;
}

.chrmrtns-text{
	font-size:1.1em;
	margin-top:0;
}

.chrmrtns-wrap ul{
	list-style-type:circle;
	list-style-position:inside;
}

.chrmrtns-wrap li.description{
    font-style: italic;
}

.chrmrtns-badge{
	display: none;
}

.chrmrtns-header {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 20px;
}

.chrmrtns-header-logo {
	width: 40px;
	height: 40px;
	border-radius: 6px;
}

.chrmrtns-header small {
	color: #666;
	font-weight: normal;
	margin-left: 10px;
}

/* Ensure logo sizing is consistent across all admin pages */
.chrmrtns-header-logo {
	width: 40px !important;
	height: 40px !important;
	border-radius: 6px;
	object-fit: cover;
}

/* Card styling for help and info sections */
.chrmrtns_kla_card {
	position: relative;
	margin-top: 20px;
	padding: 1.2em 2em 1.5em;
	min-width: 600px;
	max-width: 100%;
	border: 1px solid #c3c4c7;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
	background: #fff;
	box-sizing: border-box;
	border-radius: 4px;
}

.chrmrtns_kla_card h2 {
	margin-top: 0;
	color: #23282d;
	border-bottom: 1px solid #e1e1e1;
	padding-bottom: 8px;
	margin-bottom: 15px;
}

.chrmrtns_kla_card h3 {
	color: #23282d;
	margin-top: 20px;
	margin-bottom: 10px;
}


/* Extra Stuff */
.nowrap {
    white-space: nowrap;
}

/* Limit notification width to make room for logo */
.chrmrtns-wrap .updated,
.chrmrtns-wrap .settings-error {
    max-width: 800px;
}

.chrmrtns-fields-image{
	margin-top:60px;
}

/* Manage Fields page */
.profile-builder_page_manage-fields .metabox-holder .column-1{
	 /* margin-right:0; */
}

/* Shortcode */
.chrmrtns-shortcode {
    display: inline-block;
    font-size: 13px;
    font-weight: bold;
    background: #fff !important;
    padding: 5px 10px;
    margin-top: 5px;
    border: 1px solid #e1e1e1;
    box-shadow: none !important;
    font-family: 'Arial';
}

.chrmrtns-shortcode.textarea {
    width: 100%;
    height: 1px;
    resize: none;
}

.chrmrtns-shortcode:focus {
    border-color: #e1e1e1 !important;
}

.chrmrtns-shortcode-temp {
    display: inline-block;
    font-size: 13px;
    font-weight: bold;
    padding: 11px;
    font-family: 'Arial';
}


#container_chrmrtns_manage_fields li strong{
	display:none !important;
}

#container_chrmrtns_manage_fields .added_fields_list li.row-meta-name{
	display:list-item !important;
}

#container_chrmrtns_manage_fields li.row-field-title pre,
#container_chrmrtns_manage_fields li.row-meta-name pre{
	min-height:10px;
}

#container_chrmrtns_manage_fields pre{
	display:block;
	float:left;
	width:27%;
	font-family:"Open Sans", Arial, sans-serif;
	font-size:14px;
}

#container_chrmrtns_manage_fields pre.chrmrtns-mb-head-required,
#container_chrmrtns_manage_fields li.row-required pre{
	width:auto;
    text-align: center;
}

#container_chrmrtns_manage_fields thead tr{
	background:#f1f1f1;
}

#container_chrmrtns_manage_fields thead tr:hover {
	background: #f1f1f1;
}

#container_chrmrtns_manage_fields tr.update_container_chrmrtns_manage_fields:hover{
	background:#fff;
}

#container_chrmrtns_manage_fields tr:hover{
	background:#def6ff;
}

#chrmrtns_manage_fields_info{
    display: none;
}

/* Extra Registration and Edit Profile fields */
#container_chrmrtns_epf_fields li strong,
#container_chrmrtns_rf_fields li strong{
    display:none !important;
}

#container_chrmrtns_epf_fields pre,
#container_chrmrtns_rf_fields pre{
    display:block;
    font-family:"Open Sans", Arial, sans-serif;
    font-size:14px;
    margin-top: 5px;
}

#container_chrmrtns_epf_fields thead tr,
#container_chrmrtns_rf_fields thead tr {
    background: #f1f1f1;
}
#container_chrmrtns_epf_fields thead tr:hover,
#container_chrmrtns_rf_fields thead tr:hover {
    background: #f1f1f1;
}

#container_chrmrtns_epf_fields tr.update_container_chrmrtns_epf_fields:hover,
#container_chrmrtns_rf_fields tr.update_container_chrmrtns_rf_fields:hover{
    background:none;
}

#container_chrmrtns_epf_fields tr:hover,
#container_chrmrtns_rf_fields tr:hover{
    background:#def6ff;
}
#container_chrmrtns_epf_fields .wck-content{
    content: "" !important;
}

#chrmrtns_rf_page_settings .row-url, #chrmrtns_rf_page_settings .row-display-messages, .update_container_chrmrtns_rf_page_settings.redirect_ .row-url,
.update_container_chrmrtns_rf_page_settings.redirect_ .row-display-messages, #container_chrmrtns_rf_page_settings .redirect_ .wck-content .row-url,
#container_chrmrtns_rf_page_settings .redirect_ .wck-content .row-display-messages, .update_container_chrmrtns_rf_page_settings.redirect_no .row-url,
.update_container_chrmrtns_rf_page_settings.redirect_no .row-display-messages, #container_chrmrtns_rf_page_settings .redirect_no .wck-content .row-url,
#container_chrmrtns_rf_page_settings .redirect_no .wck-content .row-display-messages{
    display:none;
}

#chrmrtns_epf_page_settings .row-url, #chrmrtns_epf_page_settings .row-display-messages, .update_container_chrmrtns_epf_page_settings.redirect_ .row-url,
.update_container_chrmrtns_epf_page_settings.redirect_ .row-display-messages, #container_chrmrtns_epf_page_settings .redirect_ .wck-content .row-url,
#container_chrmrtns_epf_page_settings .redirect_ .wck-content .row-display-messages, .update_container_chrmrtns_epf_page_settings.redirect_no .row-url,
.update_container_chrmrtns_epf_page_settings.redirect_no .row-display-messages, #container_chrmrtns_epf_page_settings .redirect_no .wck-content .row-url,
#container_chrmrtns_epf_page_settings .redirect_no .wck-content .row-display-messages{
    display:none;
}

/* Columns :) - Updated to use flexbox for better compatibility */
.chrmrtns-row{
	overflow:hidden;
	display: flex;
	gap: 20px;
}

.chrmrtns-3-col {
	display: flex;
	gap: 20px;
}

.chrmrtns-3-col > div {
	flex: 1;
	width: 28%;
	margin-right: 0;
}

.chrmrtns-2-col {
	display: flex;
	gap: 20px;
}

.chrmrtns-2-col > div {
	flex: 1;
	width: 45%;
	margin-right: 0;
}

.chrmrtns-3-col > div:last-child,
.chrmrtns-2-col > div:last-child{
	margin:0;
}

/* Fallback for older browsers */
.no-flexbox .chrmrtns-3-col > div {
	float:left;
	width:28%;
	margin-right:5%;
}

.no-flexbox .chrmrtns-2-col > div {
	float:left;
	width:45%;
	margin-right:5%;
}

/* Extra Form Styles */
.chrmrtns-text{
    min-width: 16.4em;
}
.chrmrtns-select {
	min-width:18em;
}

.chrmrtns-wrap .form-table th {
	width: 400px;
}

.chrmrtns-metabox label{
	display:inline-block;
	min-width:15em;
}

/* Admin Bar Page */
.chrmrtns-admin-bar label{
	margin-right:30px;
	padding:5px;
}

/* modules Page */
.chrmrtns-modules label{
	margin-right:30px;
	padding:5px;
}

/* Metabox Clone. We need this in various places to simulate the css of a normal metabox. */
.chrmrtns-side{
	width:300px;
	float:right;
	clear:both;
}

.chrmrtns-metabox h3{
	font-size: 14px;
    line-height: 1.4;
    margin: 0;
	padding:8px 12px;
	cursor:default !important;
}

.chrmrtns-normal{
	margin-right:320px;
}

.chrmrtns-metabox textarea{
	resize:vertical;
	background-color: #ecf8fd;
    font-family: Consolas,Monaco,monospace;
    font-size: 13px;
}

.chrmrtns-metabox .inline-wrap{
	width:280px;
	float:left;
}
.chrmrtns-highlight{
	background:#333333;
	background:#222222;
	background:#fff;
	padding:20px;
}
.chrmrtns-userlisting-slider, .chrmrtns-list-users-slider{
	display:block;
	padding:10px;
	border:1px solid #ccc;
	font-family: Consolas,Monaco,monospace;
    font-size: 13px;
	margin-top:20px;
}
#chrmrtns_manage_fields .mb-list-entry-fields .row-field .field-label{
	width: 177px;
}

#container_chrmrtns_epf_fields .row-id,
#chrmrtns_epf_fields .row-id,
#container_chrmrtns_rf_fields .row-id,
#chrmrtns_rf_fields .row-id{
	display:none;
}

.chrmrtns-wrap #serial_number{
	font-weight: 600;
    line-height: 1.3;
    padding: 20px 10px 20px 0;
    text-align: left;
	color: #222222;
	font-size:14px;
}

#chrmrtns_profile_builder_pro_serial{
    width:460px;
    padding: 5px;
}

.chrmrtns-wrap .chrmrtns-serialnumber-descr{
    display: block;
	padding: 0px 0px 0px 95px
}

.chrmrtns-backend-notice{
	line-height: 16px;
	padding: 11px;
	font-size: 14px;
	text-align: left;
	margin: 0 0 5px 0;
	background-color: #fff9e8;
	border:1px solid #ffba00;
	border-radius:3px;
}

.chrmrtns-custom-redirects .widefat tr td{
    padding: 12px 10px;
}

.chrmrtns-custom-redirects .widefat tbody tr:hover{
    background: #def6ff;
}

.chrmrtns-extra-info-notice{
    font-style: italic;
    opacity: 0.7;
}

.chrmrtns-custom-redirects .chrmrtns_col_1{
	width: 24%;
}

.chrmrtns-custom-redirects .chrmrtns_col_2{
	width: 18%;
}

.chrmrtns-custom-redirects .chrmrtns_col_3{
	width: 58%;
}

.chrmrtns-custom-redirects input[type="text"]{
	width: 100%;
}

/* hide "View post" link from update messages on internal post types */
.post-type-chrmrtns-ul-cpt #message.updated a, .post-type-chrmrtns-rf-cpt #message.updated a, .post-type-chrmrtns-epf-cpt #message.updated a{
    display:none;
}


#chrmrtns_ul_page_settings .row-visible-to-following-roles, .update_container_chrmrtns_ul_page_settings.visible_to_logged_ .row-visible-to-following-roles,
#container_chrmrtns_ul_page_settings .visible_to_logged_ .wck-content .row-visible-to-following-roles{
    display:none;
}

/* Manage Fields Responsive CSS */
@media screen and ( max-width: 1125px ) {
    /* Manage Fields Responsive */
    #container_chrmrtns_manage_fields th.wck-content pre{
        display:none;
    }
    #container_chrmrtns_manage_fields li strong{
        display: inline-block !important;
        font-size: 14px;
        font-family: "Open Sans",Arial,sans-serif;
    }
    #container_chrmrtns_manage_fields pre{
        display: inline;
        float:none;
        width:auto;
    }
    #container_chrmrtns_manage_fields li strong{
        width:100px !important;
    }
}


