@import url('ems-design-system.css');#ems-plugin .ems-password-wrapper{
    position: relative;
    display: flex;
    align-items: center;
}#ems-plugin .ems-password-wrapper input{
    min-height: 53px;
}#ems-plugin .ems-password-wrapper button.ems-password-toggle{
    border: none;
    padding: 0px;
    background: none !important;
}#ems-plugin .ems-password-wrapper button.ems-password-toggle:hover{
    background: none;
}#ems-plugin .ems-password-wrapper .ems-eye-icon{
    display: inline-block;
    user-select: none;
    width: 20px;
}#ems-plugin .ems-password-wrapper input[type="password"],
#ems-plugin .ems-password-wrapper input[type="text"]{
    padding-right: var(--ems-password-input-padding-right) !important;
    width: 100%;
    box-sizing: border-box;
}#ems-plugin .ems-field-error{
    border-color: var(--ems-error) !important;
    background-color: var(--ems-error-bg) !important;
    box-shadow: 0 0 0 1px var(--ems-error) !important;
}#ems-plugin .ems-field-error:focus{
    border-color: var(--ems-error) !important;
    box-shadow: 0 0 0 2px var(--ems-error-focus) !important;
}#ems-plugin .ems-field-error-message{
    color: var(--ems-error);
    font-size: var(--ems-small-size);
    margin-top: var(--ems-space-1);
    display: block;
    font-weight: var(--ems-font-weight-medium);
}#ems-plugin .ems-field-error-message::before{
    content: "⚠️ ";
    margin-right: var(--ems-space-xs);
}#ems-plugin .ems-password-toggle{
    position: absolute;
    right: var(--ems-space-3);
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px var(--ems-space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ems-text-secondary);
    font-size: var(--ems-h4-size);
    transition: all var(--ems-transition-fast);
    z-index: 10;
    line-height: 1;
    min-width: var(--ems-password-toggle-size);
    height: var(--ems-password-toggle-size);
    pointer-events: auto;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: var(--ems-radius-sm);
}#ems-plugin .ems-password-toggle:hover{
    color: var(--ems-text-primary);
    background: var(--ems-bg-secondary);
    transform: translateY(-50%) scale(1.1);
}#ems-plugin .ems-password-toggle:focus{
    outline: 2px solid var(--ems-primary);
    outline-offset: 2px;
    border-radius: var(--ems-radius-sm);
}#ems-plugin .ems-eye-icon{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}#ems-plugin .ems-password-icon{
    width: 20px;
    height: 20px;
    display: block;
    object-fit: contain;
    transition: opacity var(--ems-transition-fast);
}#ems-plugin .ems-password-toggle:hover .ems-password-icon{
    opacity: 0.8;
}#ems-plugin .ems-my-account{
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--ems-space-10) 0;
    animation: fadeIn var(--ems-transition-slow) ease-out;
}#ems-plugin .ems-account-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--ems-space-8) var(--ems-space-6);
    background: linear-gradient(135deg, var(--ems-primary) 0%, var(--ems-primary) 100%);
    border-radius: var(--ems-radius-lg);
    color: var(--ems-white);
    margin-bottom: var(--ems-space-6);
    box-shadow: var(--ems-shadow-lg);
    position: relative;
    overflow: hidden;
    animation: slideUp var(--ems-transition-slow) ease-out;
}#ems-plugin .ems-account-header::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(var(--ems-white-rgb), 0.1) 0%, rgba(var(--ems-white-rgb), 0.05) 100%);
    pointer-events: none;
    opacity: 0.5;
}#ems-plugin .ems-welcome-section{
    position: relative;
    z-index: 1;
}#ems-plugin .ems-welcome-section h2{
    margin: 0 0 var(--ems-space-2) 0;
    font-size: var(--ems-h2-size);
    line-height: var(--ems-h2-line);
    font-weight: var(--ems-h2-weight);
    color: var(--ems-white);
}#ems-plugin .ems-user-email{
    margin: 0;
    opacity: 0.9;
    font-size: var(--ems-body-large-size);
    line-height: var(--ems-body-large-line);
    color: rgba(var(--ems-white-rgb), 0.95) !important;
    text-decoration: underline;
}#ems-plugin .ems-account-actions{

    display: flex;

    gap: 10px;

}#ems-plugin .ems-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--ems-space-2);
    padding: var(--ems-space-3) var(--ems-space-6);
    border-radius: var(--ems-radius-md);
    border: none;
    cursor: pointer;
    font-weight: var(--ems-font-weight-semibold);
    text-decoration: none;
    transition: all var(--ems-transition-normal);
    font-size: var(--ems-body-size);
    line-height: 1.5;
    position: relative;
    overflow: hidden;
}#ems-plugin .ems-btn::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(var(--ems-white-rgb), 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}#ems-plugin .ems-btn:active::before{
    width: var(--ems-ripple-size);
    height: var(--ems-ripple-size);
}#ems-plugin .ems-btn-primary{
    background: linear-gradient(135deg, var(--ems-primary) 0%, var(--ems-primary-hover) 100%);
    color: var(--ems-white);
    box-shadow: var(--ems-shadow-md);
}#ems-plugin .ems-btn-primary:hover{
    transform: translateY(-2px);
    box-shadow: var(--ems-shadow-lg);
    filter: brightness(1.05);
}#ems-plugin .ems-btn-primary:active{
    transform: translateY(0);
    box-shadow: var(--ems-shadow-sm);
}#ems-plugin .ems-btn-secondary{
    background: rgba(var(--ems-white-rgb), 0.2);
    color: var(--ems-white);
    border: 2px solid rgba(var(--ems-white-rgb), 0.3);
    text-decoration: none !important;
    backdrop-filter: blur(10px);
}#ems-plugin .ems-btn-secondary:hover{
    background: rgba(var(--ems-white-rgb), 0.3);
    border-color: rgba(var(--ems-white-rgb), 0.5);
    transform: translateY(-2px);
    box-shadow: var(--ems-shadow-md);
}#ems-plugin .ems-btn-warning{
    /* background: linear-gradient(135deg, var(--ems-warning) 0%, var(--ems-warning-text) 100%); */
    color: var(--ems-white);
}#ems-plugin .ems-btn-warning:hover{
    transform: translateY(-2px);
    box-shadow: var(--ems-shadow-lg);
    filter: brightness(1.1);
}#ems-plugin .ems-btn-danger{
    background: linear-gradient(135deg, var(--ems-error) 0%, var(--ems-error-text) 100%);
    color: var(--ems-white);
}#ems-plugin .ems-btn-danger:hover{
    transform: translateY(-2px);
    box-shadow: var(--ems-shadow-lg);
    filter: brightness(1.1);
}#ems-plugin .ems-account-stats{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--ems-space-5);
    margin-bottom: var(--ems-space-6);
    animation: fadeIn var(--ems-transition-slow) ease-out 0.1s both;
}#ems-plugin .ems-stat-card{
    background: var(--ems-bg-surface);
    padding: var(--ems-space-6);
    border-radius: var(--ems-radius-md);
    box-shadow: var(--ems-shadow-sm);
    display: flex;
    align-items: center;
    gap: var(--ems-space-4);
    transition: all var(--ems-transition-normal);
    border: 1px solid var(--ems-border);
    min-height: 120px;
    position: relative;
    overflow: hidden;
}#ems-plugin .ems-stat-card::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--ems-primary) 0%, var(--ems-primary-hover) 100%);
    transform: scaleY(0);
    transition: transform var(--ems-transition-normal);
}#ems-plugin .ems-stat-card:hover{
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--ems-shadow-lg);
    border-color: var(--ems-primary);
}#ems-plugin .ems-stat-card:hover::before{
    transform: scaleY(1);
}#ems-plugin .ems-clickable-card{
    cursor: pointer;
}#ems-plugin .ems-clickable-card:hover{
    transform: translateY(-5px) scale(1.03) !important;
    box-shadow: var(--ems-shadow-lg) !important;
    border-color: var(--ems-primary) !important;
}#ems-plugin .ems-stat-icon{
    font-size: var(--ems-h1-size);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ems-radius-md);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}#ems-plugin .ems-stat-number{
    font-size: var(--ems-h1-size);
    font-weight: var(--ems-font-weight-bold);
    color: var(--ems-text-primary);
    line-height: 1;
    transition: all var(--ems-transition-normal);
    font-family: var(--ems-font-family);
}#ems-plugin .ems-stat-number.count-updating{

    transform: scale(1.2);

    color: var(--ems-primary);

    animation: countPulse 0.3s ease;

}@keyframes countPulse{

    0% {

        transform: scale(1);

    }

    50% {

        transform: scale(1.3);

    }

    100% {

        transform: scale(1);

    }

}#ems-plugin .ems-stat-label{
    font-size: var(--ems-small-size);
    color: var(--ems-text-secondary);
    margin-top: var(--ems-space-1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: var(--ems-font-weight-medium);
}#ems-plugin .ems-account-tabs{
    display: flex;
    gap: var(--ems-space-2);
    border-bottom: 2px solid var(--ems-border);
    margin-bottom: var(--ems-space-6);
    position: relative;
    animation: fadeIn var(--ems-transition-slow) ease-out 0.2s both;
}#ems-plugin .ems-tab-btn{
    padding: var(--ems-space-3) var(--ems-space-6);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: var(--ems-body-large-size);
    font-weight: var(--ems-font-weight-medium);
    color: var(--ems-text-secondary);
    transition: all var(--ems-transition-normal);
    margin-bottom: -2px;
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--ems-space-2);
}#ems-plugin .ems-tab-btn::after{
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--ems-primary);
    transition: width var(--ems-transition-normal);
}#ems-plugin .ems-tab-btn:hover{
    background-color: var(--ems-primary-focus);
    color: var(--ems-primary);
}#ems-plugin .ems-tab-btn:hover::after{
    width: 100%;
}#ems-plugin .ems-tab-btn.active{
    background-color: var(--ems-primary-hover);
    color: var(--ems-white);
    font-weight: var(--ems-font-weight-semibold);
}#ems-plugin .ems-tab-btn.active::after{
    width: 100%;
}#ems-plugin .ems-tab-content{
    display: none;
    animation: fadeIn var(--ems-transition-slow) ease-out;
}#ems-plugin .ems-tab-content.active{

    display: block;

}@keyframes fadeIn{
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}#ems-plugin .ems-profile-section{
    background: var(--ems-bg-surface);
    padding: var(--ems-space-6);
    border-radius: var(--ems-radius-md);
    box-shadow: var(--ems-shadow-sm);
    border: 1px solid var(--ems-border);
    animation: slideUp var(--ems-transition-slow) ease-out;
}#ems-plugin .ems-profile-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--ems-space-lg);
}#ems-plugin .ems-profile-header h3{
    margin: 0;
    font-size: 22px;
    color: var(--ems-text-primary);
}#ems-plugin .ems-profile-section h3{
    margin-top: 0;
    margin-bottom: var(--ems-space-6);
    font-size: var(--ems-h3-size);
    line-height: var(--ems-h3-line);
    font-weight: var(--ems-h3-weight);
    color: var(--ems-text-primary);
}#ems-plugin .ems-edit-profile-btn{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px var(--ems-space-5);
    font-size: var(--ems-body-size);
    font-weight: var(--ems-font-weight-semibold);
}button.ems-edit-profile-btn{
    display: flex;
}#ems-plugin .ems-edit-profile-btn .ems-icon{
    font-size: var(--ems-body-large-size);
    width: 15px;
}#ems-plugin .ems-edit-profile-form{
    padding: var(--ems-space-5);
}#ems-plugin .ems-profile-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--ems-space-6);
}#ems-plugin .ems-profile-field{
    padding-bottom: var(--ems-space-5);
    border-bottom: 1px solid var(--ems-border-light);
    transition: all var(--ems-transition-fast);
}#ems-plugin .ems-profile-field:hover{
    background: var(--ems-bg-secondary);
    margin: calc(var(--ems-space-2) * -1);
    padding: var(--ems-space-5) var(--ems-space-2);
    border-radius: var(--ems-radius-sm);
}#ems-plugin .ems-profile-field:last-child{
    border-bottom: none;
}#ems-plugin .ems-profile-field label{
    display: block;
    font-size: var(--ems-small-size);
    font-weight: var(--ems-font-weight-semibold);
    color: var(--ems-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--ems-space-2);
}#ems-plugin .ems-field-value{
    font-size: var(--ems-body-large-size);
    line-height: var(--ems-body-large-line);
    color: var(--ems-text-primary);
    font-weight: var(--ems-font-weight-medium);
    word-wrap: break-word;
}#ems-plugin .ems-field-hint{
    display: block;
    font-size: var(--ems-xs-size);
    color: var(--ems-text-muted);
    margin-top: var(--ems-space-xs);
    font-style: italic;
}#ems-plugin .ems-alert{
    padding: var(--ems-space-3) var(--ems-space-4);
    border-radius: var(--ems-radius-md);
    margin-bottom: var(--ems-space-5);
    font-size: var(--ems-body-size);
    display: none;
}#ems-plugin .ems-alert-success{
    background-color: var(--ems-success-bg);
    color: var(--ems-success-text);
    border: 1px solid var(--ems-success-border);
}#ems-plugin .ems-alert-error{
    background-color: var(--ems-error-bg);
    color: var(--ems-error-text);
    border: 1px solid var(--ems-error);
    border-left: 4px solid var(--ems-error);
}#ems-plugin .ems-status-verified{
    color: var(--ems-success);
    font-weight: var(--ems-font-weight-semibold);
}#ems-plugin .ems-status-pending{
    color: var(--ems-warning);
    font-weight: var(--ems-font-weight-semibold);
}#ems-plugin .ems-required{
    color: var(--ems-error);
    font-weight: var(--ems-font-weight-semibold);
}/* .ems-family-section{
    background: var(--ems-bg-surface);
    padding: var(--ems-space-6);
    border-radius: var(--ems-radius-md);
    box-shadow: var(--ems-shadow-sm);
    border: 1px solid var(--ems-border);
    animation: slideUp var(--ems-transition-slow) ease-out;
}*/





.ems-dashboard{
    background: var(--ems-bg-surface);
    padding: var(--ems-space-8);
    border-radius: var(--ems-radius-md);
    box-shadow: var(--ems-shadow-sm);
    border: 1px solid var(--ems-border);
}#ems-plugin .ems-dashboard h3{

    margin-top: 0;

    margin-bottom: var(--ems-space-lg);

    font-size: 22px;

    color: var(--ems-text-primary);

}#ems-plugin .ems-dashboard h4{

    margin-bottom: var(--ems-space-5);

    font-size: var(--ems-h4-size);

    color: var(--ems-text-primary);

}#ems-plugin .ems-dashboard hr{

    border: none;

    border-top: 1px solid var(--ems-border-light);

    margin: 30px 0;

}#ems-family-list{

    margin-bottom: 30px;

}#ems-plugin .ems-family-list-grid{

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));

    gap: var(--ems-space-5);

    margin-bottom: 30px;

}#ems-plugin .ems-family-card{
    background: var(--ems-bg-surface);
    border-radius: var(--ems-radius-lg);
    box-shadow: var(--ems-shadow-sm);
    overflow: hidden;
    transition: all var(--ems-transition-normal);
    border: 1px solid var(--ems-border);
    animation: slideIn var(--ems-transition-slow) ease-out;
    position: relative;
    display: flex;
    flex-direction: column;
}@keyframes slideIn{
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}#ems-plugin .ems-section-header{
    display: flex;
    flex-direction: column;
    border-bottom: 2px solid var(--ems-border-light);
    padding-bottom: var(--ems-space-2);
    margin-bottom: var(--ems-space-4);
}#ems-plugin .ems-section-header h4{
    color: var(--ems-primary) !important;
    font-size: var(--ems-h4-size) !important;
    font-weight: var(--ems-font-weight-bold) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 !important;
}#ems-plugin .ems-card-readonly{
    background: var(--ems-bg-secondary) !important;
    border-left: 4px solid var(--ems-text-muted) !important;
    filter: grayscale(0.2);
}#ems-plugin .ems-card-readonly:hover{
    transform: none !important;
    box-shadow: var(--ems-shadow-sm) !important;
    border-color: var(--ems-border) !important;
}#ems-plugin .ems-no-members-msg{
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--ems-space-12);
    background: var(--ems-bg-surface);
    border: 2px dashed var(--ems-border);
    border-radius: var(--ems-radius-lg);
    color: var(--ems-text-muted);
    text-align: center;
}#ems-plugin .ems-no-members-msg p{
    margin: 0;
    font-size: var(--ems-body-large-size);
    font-weight: var(--ems-font-weight-medium);
}#ems-plugin .ems-family-card:hover{
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--ems-shadow-xl);
    border-color: var(--ems-primary);
}#ems-plugin .ems-family-card-header{
    display: flex;
    /* align-items: center; */
    padding: var(--ems-space-5);
    background: linear-gradient(135deg, rgba(var(--ems-primary-rgb), 0.05) 0%, rgba(var(--ems-primary-rgb), 0.05) 100%);
    border-bottom: 1px solid var(--ems-border);
    position: relative;
}#ems-plugin .ems-family-avatar{
    width: 60px;
    height: 60px;
    border-radius: var(--ems-radius-md);
    background: linear-gradient(135deg, var(--ems-primary) 0%, var(--ems-primary-hover) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--ems-space-4);
    flex-shrink: 0;
    box-shadow: var(--ems-shadow-md);
    position: relative;
    overflow: hidden;
}#ems-plugin .ems-family-avatar::before{
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--ems-radius-md);
    padding: 2px;
    background: linear-gradient(135deg, var(--ems-primary) 0%, var(--ems-primary-hover) 100%);
    -webkit-mask: linear-gradient(var(--ems-white) 0 0) content-box, linear-gradient(var(--ems-white) 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--ems-transition-normal);
}#ems-plugin .ems-family-card:hover .ems-family-avatar::before{
    opacity: 1;
}#ems-plugin .ems-avatar-icon{

    font-size: 28px;

    filter: grayscale(100%) brightness(200%);

}#ems-plugin .ems-family-info{

    flex: 1;

    min-width: 0;

}#ems-plugin .ems-family-name{
    margin: 0 0 var(--ems-space-2) 0;
    font-size: var(--ems-h4-size);
    line-height: var(--ems-h4-line);
    font-weight: var(--ems-h4-weight);
    color: var(--ems-text-primary);
    line-height: 1.3;
}#ems-plugin .ems-family-relationship{
    display: inline-block;
    padding: var(--ems-space-1) var(--ems-space-3);
    background: rgba(var(--ems-primary-rgb), 0.1);
    color: var(--ems-primary);
    border-radius: var(--ems-radius-full);
    font-size: var(--ems-small-size);
    font-weight: var(--ems-font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--ems-transition-fast);
}#ems-plugin .ems-family-card:hover .ems-family-relationship{
    background: rgba(var(--ems-primary-rgb), 0.15);
    transform: scale(1.05);
}#ems-plugin .ems-family-card-body{
    padding: var(--ems-space-md) var(--ems-space-5);
    flex: 1 1 auto;
}#ems-plugin .ems-family-card-actions{

    display: flex;

    gap: 10px;

    padding: var(--ems-space-md) var(--ems-space-5);

    background: var(--ems-bg-secondary);

    border-top: 1px solid var(--ems-border-light);

}#ems-plugin .ems-family-card-actions .ems-icon img{

    max-width: 15px;

    width: 100%;

}#ems-plugin .ems-delete-icon img{

    max-width: 80px;

    width: 100%;

}#ems-plugin .ems-btn-edit-member,
#ems-plugin .ems-btn-delete-member{
    flex: 1;
    padding: 10px var(--ems-space-md);
    border: none;
    border-radius: var(--ems-radius-sm);
    font-size: var(--ems-body-size);
    font-weight: var(--ems-font-weight-semibold);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}#ems-plugin .ems-btn-edit-member .ems-icon,
#ems-plugin .ems-btn-delete-member .ems-icon{
    pointer-events: none;
}#ems-plugin .ems-btn-edit-member{
    background: linear-gradient(135deg, var(--ems-primary) 0%, var(--ems-primary-hover) 100%);
    color: var(--ems-color-white) !important;
    box-shadow: var(--ems-shadow-sm);
}#ems-plugin .ems-btn-edit-member:hover{
    transform: translateY(-2px);
    box-shadow: var(--ems-shadow-md);
    filter: brightness(1.1);
}#ems-plugin .ems-btn-delete-member{
    background: var(--ems-error);
    color: var(--ems-white);
    box-shadow: var(--ems-shadow-sm);
}#ems-plugin .ems-btn-delete-member:hover{
    background: var(--ems-error);
    transform: translateY(-2px);
    box-shadow: var(--ems-shadow-md);
    filter: brightness(0.9);
}#ems-plugin .ems-verification-badge{
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--ems-radius-full);
    font-size: var(--ems-caption-size);
    font-weight: var(--ems-font-weight-semibold);
    letter-spacing: 0.3px;
    margin-top: 6px;
}#ems-plugin .ems-attendee-selector .ems-attendee-verification-badge{
    position: static !important;
    top: auto !important;
    right: auto !important;
    display: inline-block;
    margin: 0 var(--ems-space-sm) 0 var(--ems-space-xs);
    padding: 2px 10px;
    border-radius: var(--ems-radius-full);
    font-size: var(--ems-caption-size);
    font-weight: var(--ems-font-weight-semibold);
    letter-spacing: 0.3px;
    vertical-align: middle;
    width: auto;
}#ems-plugin .ems-attendee-selector .ems-attendee-verification-badge--pending{
    background: var(--ems-pending-bg-tint);
    color: var(--ems-pending-text);
    border: 1px solid var(--ems-pending-border-tint);
}#ems-plugin .ems-attendee-selector .ems-attendee-verification-badge--unverified{
    background: var(--ems-unverified-bg);
    color: var(--ems-unverified-text);
    border: 1px solid var(--ems-unverified-border);
}#ems-plugin .ems-badge-pending{
    background: var(--ems-pending-bg-tint);
    color: var(--ems-pending-text);
    border: 1px solid var(--ems-pending-border-tint);
    position: absolute;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 10px;
    right: var(--ems-space-5);
    padding: 5px var(--ems-space-5);
    gap: var(--ems-space-sm);
}#ems-plugin .ems-badge-verified{
    background: var(--ems-verified-bg-tint);
    color: var(--ems-verified-text);
    border: 1px solid var(--ems-verified-border-tint);
    position: absolute;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 10px;
    right: var(--ems-space-5);
    padding: 5px var(--ems-space-5);
    gap: var(--ems-space-sm);
}#ems-plugin .ems-btn-resend-verification{
    flex: 1;
    padding: 10px var(--ems-space-md);
    border: none;
    border-radius: var(--ems-radius-sm);
    font-size: var(--ems-body-size);
    font-weight: var(--ems-font-weight-semibold);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--ems-warning) 0%, var(--ems-pending-text) 100%);
    color: var(--ems-white);
    box-shadow: var(--ems-shadow-sm);
}#ems-plugin .ems-btn-resend-verification:hover{
    transform: translateY(-2px);
    box-shadow: var(--ems-shadow-md);
    filter: brightness(1.1);
}#ems-plugin .ems-btn-resend-verification:disabled{
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}#ems-plugin .ems-btn-resend-verification .ems-icon{
    pointer-events: none;
}#ems-plugin .ems-icon{

    font-size: var(--ems-body-large-size);

}#ems-plugin .ems-family-detail{

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 10px 0;

    border-bottom: 1px solid var(--ems-border-light);
    flex-wrap: wrap;
    row-gap: var(--ems-space-sm);
}#ems-plugin .ems-family-detail:last-child{

    border-bottom: none;

}#ems-plugin .ems-detail-label{
    font-size: var(--ems-small-size);
    color: var(--ems-text-secondary);
    font-weight: var(--ems-font-weight-medium);
}#ems-plugin .ems-detail-value{
    font-size: var(--ems-body-size);
    line-height: var(--ems-body-line);
    color: var(--ems-text-primary);
    font-weight: var(--ems-font-weight-semibold);
}#no-members-msg{
    grid-column: 1 / -1;
    color: var(--ems-text-muted);
    font-style: italic;
    padding: var(--ems-space-10) var(--ems-space-5);
    text-align: center;
    background: var(--ems-bg-secondary);
    border-radius: var(--ems-radius-lg);
    border: 2px dashed var(--ems-border);
    animation: fadeIn var(--ems-transition-slow) ease-out;
}#ems-plugin .ems-form-group{

    margin-bottom: var(--ems-space-5);

}#ems-plugin .ems-form-group label{

    display: block;

    margin-bottom: var(--ems-space-sm);

    font-weight: var(--ems-font-weight-semibold);

    color: var(--ems-text-primary);

    font-size: var(--ems-body-size);

}#ems-plugin input[type=date],
#ems-plugin input[type=email],
#ems-plugin input[type=number],
#ems-plugin input[type=password],
#ems-plugin input[type=search],
#ems-plugin input[type=tel],
#ems-plugin input[type=text],
#ems-plugin input[type=url],
#ems-plugin select,
#ems-plugin textarea,
#ems-plugin .ems-form-group input[type="text"],
#ems-plugin .ems-form-group input[type="date"],
#ems-plugin .ems-auth-form input[type="tel"],
#ems-plugin .ems-form-group select{
    width: 100% !important;
    padding: var(--ems-space-3) var(--ems-space-4) !important;
    border: 1px solid var(--ems-border) !important;
    border-radius: var(--ems-radius-md) !important;
    font-size: var(--ems-body-size) !important;
    line-height: normal !important;
    transition: all var(--ems-transition-normal) !important;
    background: var(--ems-bg) !important;
    color: var(--ems-text-primary);
}#ems-plugin .ems-password-wrapper input[type="password"],
#ems-plugin .ems-password-wrapper input[type="text"]{
    padding-right: var(--ems-password-input-padding-right) !important;

    border-radius: var(--ems-radius-sm);

    font-size: var(--ems-body-size);

    transition: border-color 0.3s ease;

}#ems-plugin .ems-form-group input:focus,
#ems-plugin .ems-form-group select:focus{
    outline: none;
    border-color: var(--ems-primary);
    box-shadow: 0 0 0 3px rgba(var(--ems-primary-rgb), 0.1);
    background: var(--ems-bg);
}#ems-submit-btn{
    background: linear-gradient(135deg, var(--ems-primary) 0%, var(--ems-primary-hover) 100%);
    color: var(--ems-white);
    padding: var(--ems-space-3) var(--ems-space-6);
    border: none;
    border-radius: var(--ems-radius-md);
    font-weight: var(--ems-font-weight-semibold);
    cursor: pointer;
    font-size: var(--ems-body-size);
    transition: all var(--ems-transition-normal);
    box-shadow: var(--ems-shadow-md);
}#ems-submit-btn:hover{
    transform: translateY(-2px);
    box-shadow: var(--ems-shadow-lg);
    filter: brightness(1.05);
}#ems-submit-btn:disabled{

    opacity: 0.6;

    cursor: not-allowed;

    transform: none;

}#ems-plugin .ems-loading{

    margin-left: var(--ems-space-3);

    color: var(--ems-text-secondary);

    font-size: var(--ems-body-size);

}#ems-plugin .ems-events-section{

    background: var(--ems-bg-surface);

    padding: 30px;

    border-radius: var(--ems-radius-md);

    box-shadow: var(--ems-shadow-sm);

}#ems-plugin .ems-events-section h3{
    margin-top: 0;
    margin-bottom: var(--ems-space-6);
    font-size: var(--ems-h3-size);
    color: var(--ems-text-primary);
}#ems-plugin .ems-empty-state{
    color: var(--ems-text-muted);
    text-align: center;
    padding: var(--ems-space-10) var(--ems-space-5);
    font-size: var(--ems-body-large-size);
}#ems-plugin .ems-empty-state a{
    color: var(--ems-primary);
    text-decoration: none;
    font-weight: var(--ems-font-weight-semibold);
}#ems-plugin .ems-empty-state a:hover{

    text-decoration: underline;

}#ems-plugin .ems-not-logged-in{
    background: var(--ems-bg-surface);
    padding: var(--ems-space-10);
    border-radius: var(--ems-radius-md);
    box-shadow: var(--ems-shadow-md);
    text-align: center;
}#ems-plugin .ems-not-logged-in p{
    font-size: var(--ems-body-large-size);
    color: var(--ems-text-secondary);
}#ems-plugin .ems-not-logged-in a{
    color: var(--ems-primary);
    text-decoration: none;
    font-weight: var(--ems-font-weight-semibold);
}#ems-plugin .ems-not-logged-in a:hover{

    text-decoration: underline;

}#ems-plugin .ems-account-tabs [type=button]:focus,
#ems-plugin .ems-account-tabs [type=button]:hover,
#ems-plugin .ems-account-tabs [type=submit]:focus,
#ems-plugin .ems-account-tabs [type=submit]:hover,
#ems-plugin .ems-account-tabs button:focus,
#ems-plugin .ems-account-tabs button:hover{
    background-color: var(--ems-primary-hover);
    color: var(--ems-white) !important;
    text-decoration: none;
}#ems-toast-container{
    position: fixed;
    bottom: var(--ems-space-lg);
    right: var(--ems-space-lg);
    z-index: var(--ems-z-tooltip);
    display: flex;
    flex-direction: column-reverse;
    /* Stack new toasts on top */
    gap: var(--ems-space-3);
    pointer-events: none;
    max-width: 350px;
    width: calc(100% - 48px);
}#ems-toast-container .ems-toast{
    pointer-events: auto;
    background: var(--ems-bg-surface);
    color: var(--ems-text-primary);
    padding: var(--ems-space-3) var(--ems-space-5);
    border-radius: var(--ems-radius-md);
    box-shadow: var(--ems-shadow-xl);
    border-left: 5px solid var(--ems-primary);
    display: flex;
    align-items: center;
    gap: var(--ems-space-3);
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: var(--ems-font-weight-medium);
    font-size: var(--ems-body-size);
}#ems-toast-container .ems-toast.show{
    opacity: 1;
    transform: translateX(0);
}#ems-toast-container .ems-toast-success{
    border-color: var(--ems-success-vivid);
}#ems-toast-container .ems-toast-error{
    border-color: var(--ems-error);
}#ems-toast-container .ems-toast-warning{
    border-color: var(--ems-warning);
}#ems-toast-container .ems-toast-info{
    border-color: var(--ems-info);
}#ems-toast-container .ems-toast-message{
    line-height: 1.4;
}#ems-plugin .ems-modal{

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    z-index: 10000; /* above --ems-z-modal; no exact token */

    display: flex;

    align-items: center;

    justify-content: center;

}#ems-plugin .ems-modal-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--ems-black-rgb), 0.6);
    backdrop-filter: blur(8px);
    animation: fadeIn var(--ems-transition-fast) ease-out;
}#ems-plugin .ems-modal-content{
    position: relative;
    background: var(--ems-bg-surface);
    border-radius: var(--ems-radius-lg);
    box-shadow: var(--ems-shadow-xl);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: var(--ems-z-modal);
    animation: modalSlideIn var(--ems-transition-slow) cubic-bezier(0.4, 0, 0.2, 1);
}@keyframes modalSlideIn{
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}#ems-plugin .ems-modal-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--ems-space-6) var(--ems-space-8);
    border-bottom: 1px solid var(--ems-border);
    background: linear-gradient(135deg, rgba(var(--ems-primary-rgb), 0.05) 0%, rgba(var(--ems-primary-rgb), 0.05) 100%);
}#ems-plugin .ems-modal-header button{
    line-height: 0;
    font-size: var(--ems-h3-size);
}#ems-plugin .ems-modal-header h3{
    margin: 0;
    font-size: var(--ems-h3-size);
    line-height: var(--ems-h3-line);
    color: var(--ems-text-primary);
    font-weight: var(--ems-h3-weight);
}#ems-plugin .ems-modal-body{
    padding: var(--ems-space-6) var(--ems-space-8);
    overflow-y: auto;
    flex: 1;
}#ems-plugin .ems-modal-close{
    background: none;
    border: none;
    font-size: var(--ems-h2-size);
    color: var(--ems-text-secondary);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ems-radius-sm);
    transition: all var(--ems-transition-fast);
}#ems-plugin .ems-modal-actions{

    display: flex;

    gap: var(--ems-space-3);

    margin-top: var(--ems-space-lg);

    padding: var(--ems-space-lg);

    border-top: 1px solid var(--ems-border-light);

}#ems-plugin .ems-modal-actions .ems-btn{

    flex: 1;

}#ems-plugin .ems-modal-actions .ems-btn-secondary{
    background: var(--ems-bg-secondary);
    color: var(--ems-text-primary);
}#ems-plugin .ems-modal-actions .ems-btn-secondary:hover{
    background: var(--ems-border-light);
}#ems-plugin .ems-delete-modal-content{

    max-width: 450px;

}#ems-plugin .ems-delete-modal-body{

    padding: 30px;

    text-align: center;

}#ems-plugin .ems-delete-icon{

    font-size: 64px;

    margin-bottom: var(--ems-space-5);

    animation: shake 0.5s ease;

}@keyframes shake{

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-10px);
    }

    75% {
        transform: translateX(10px);
    }

}#ems-plugin .ems-delete-message{
    font-size: var(--ems-body-large-size);
    color: var(--ems-text-primary);
    margin: 0 0 var(--ems-space-3) 0;
    line-height: 1.5;
}#ems-plugin .ems-delete-message strong{
    color: var(--ems-primary);
    font-weight: var(--ems-font-weight-semibold);
}#ems-plugin .ems-delete-warning{
    font-size: var(--ems-small-size);
    color: var(--ems-error);
    margin: 0;
    font-weight: var(--ems-font-weight-medium);
}#ems-plugin .ems-warning-modal-content{

    max-width: 450px;

}#ems-plugin .ems-warning-modal-body{

    padding: 30px;

    text-align: center;
    text-align: center;

}#ems-plugin .ems-warning-icon{

    margin: 0 auto 20px;

    display: block;
    max-width: 64px;

}#ems-plugin .ems-warning-message{
    font-size: var(--ems-body-large-size);
    color: var(--ems-text-primary);
    margin: 0;
    padding: 0 var(--ems-space-2);
    line-height: 1.5;
}#ems-plugin .ems-btn-danger{
    background: var(--ems-error);
    color: var(--ems-white);
}#ems-plugin .ems-btn-danger:hover{
    background: var(--ems-error-text);
    transform: translateY(-2px);
    box-shadow: var(--ems-shadow-md);
}.tribe-tickets__tickets-item{
    display: block !important;
}.tribe-tickets__tickets-item-quantity:not(.ems-native-qty-hidden){
    display: block !important;
}/* Hide native +/- quantity on single event pages — EMS uses attendee checkboxes instead */
body.single-tribe_events .tribe-tickets__tickets-item-quantity,
body.single-tribe_events .tribe-tickets__tickets-item-quantity-wrapper,
body .tribe-tickets__tickets-item-quantity.ems-native-qty-hidden,
body .ems-native-qty-hidden{
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}/* Guests: hide tickets + attendees until login (keep login CTA via JS) */
body.single-tribe_events:not(.logged-in) .ems-ticket-attendees-display-wrapper,
body.single-tribe_events:not(.logged-in) .tribe-tickets__tickets-wrapper,
body.single-tribe_events:not(.logged-in) .tribe-tickets__tickets,
body.single-tribe_events:not(.logged-in) .tribe-events-tickets,
body.single-tribe_events:not(.logged-in) .ems-max-participants-display,
body.ems-event-guest .ems-max-participants-display,
body.ems-event-guest .ems-ticket-attendees-display-wrapper,
body.ems-event-guest .tribe-tickets__tickets-wrapper,
body.ems-event-guest .tribe-tickets__tickets,
body.ems-event-guest .tribe-events-tickets,
body.ems-event-guest .event-tickets,
body.ems-event-guest .wp-block-tribe-tickets,
body.ems-event-guest .wp-block-tickets,
body.ems-event-guest #tribe-tickets,
body.ems-event-guest .tribe-tickets,
body.ems-event-guest form.tribe-tickets,
body.ems-event-guest form.cart,
body.ems-event-guest [data-js="tribe-tickets"],
body.ems-event-guest [data-js="tribe-tickets-container"],
.ems-guest-tickets-hidden{
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}#ems-plugin .ems-btn-danger:disabled{

    opacity: 0.6;

    cursor: not-allowed;

    transform: none;

}@media (max-width: 768px){#ems-plugin .ems-modal-content{

        width: 95%;

        max-height: 85vh;

    }#ems-plugin .ems-modal-header{

        padding: var(--ems-space-5);

    }#ems-plugin .ems-modal-content form{

        padding: var(--ems-space-5);

    }#ems-plugin .ems-modal-actions{

        flex-direction: column;

    }#ems-plugin .ems-family-card-actions{

        flex-direction: column;

    }#ems-plugin .ems-delete-modal-body{

        padding: var(--ems-space-lg) var(--ems-space-5);

    }#ems-plugin .ems-delete-icon{

        font-size: 48px;

        margin-bottom: var(--ems-space-md);

    }#ems-plugin .ems-delete-message{

        font-size: var(--ems-body-large-size);

    }

}@media (max-width: 768px){#ems-plugin .ems-account-header{

        flex-direction: column;

        align-items: flex-start;

        gap: var(--ems-space-5);

    }#ems-plugin .ems-account-stats{

        grid-template-columns: 1fr;

    }#ems-plugin .ems-profile-grid{

        grid-template-columns: 1fr;

    }#ems-plugin .ems-account-tabs{

        flex-wrap: wrap;

    }#ems-plugin .ems-tab-btn{
        min-width: 100px;

    }#ems-plugin .ems-family-list-grid{

        grid-template-columns: 1fr;

    }#ems-plugin .ems-family-card-header{

        padding: var(--ems-space-md);

    }#ems-plugin .ems-family-avatar{

        width: 50px;

        height: 50px;

        margin-right: var(--ems-space-3);

    }#ems-plugin .ems-avatar-icon{

        font-size: var(--ems-h2-size);

    }#ems-plugin .ems-family-name{

        font-size: var(--ems-body-large-size);

    }#ems-plugin .ems-success-toast{

        bottom: var(--ems-space-5);

        right: var(--ems-space-5);

        left: var(--ems-space-5);

        max-width: none;

    }

}#ems-plugin .ems-add-event-wrapper{
    max-width: 920px;
    margin: var(--ems-space-10) auto;
    padding: 0 var(--ems-space-md);
}#ems-plugin .ems-add-event-wrapper .ems-form-section h2,
#ems-plugin .ems-add-event-wrapper .ems-form-section h3{
    font-size: var(--ems-h4-size);
    font-weight: var(--ems-font-weight-semibold);
    margin-bottom: var(--ems-space-4);
    color: var(--ems-text-primary);
}#ems-plugin .ems-add-event-wrapper .ems-form-group{
    margin-bottom: var(--ems-space-5);
}#ems-plugin .ems-add-event-wrapper .ems-form-group label{
    font-size: var(--ems-body-size);
    font-weight: var(--ems-font-weight-medium);
    margin-bottom: var(--ems-space-1);
    color: var(--ems-text-secondary);
}#ems-plugin .ems-add-event-wrapper .ems-form-group label img.emoji{
    max-width: 20px;
}#ems-plugin .ems-add-event-wrapper .ems-form-group .ems-ticket-list label{
    display: flex;
}#ems-plugin .ems-add-event-wrapper .ems-form-group input,
#ems-plugin .ems-add-event-wrapper .ems-form-group textarea,
#ems-plugin .ems-add-event-wrapper .ems-form-group select{
    width: 100%;
    padding: var(--ems-space-3) var(--ems-space-4);
    border-radius: var(--ems-radius-md);
    border: 1px solid var(--ems-border);
    font-size: var(--ems-body-size);
}#ems-plugin .ems-add-event-wrapper .ems-form-group input:focus,
#ems-plugin .ems-add-event-wrapper .ems-form-group textarea:focus,
#ems-plugin .ems-add-event-wrapper .ems-form-group select:focus{
    border-color: var(--ems-primary);
    outline: none;
    box-shadow: 0 0 0 3px var(--ems-primary-focus);
}#ems-plugin .ems-add-event-wrapper .ems-form-row{
    display: flex;
    gap: var(--ems-space-4);
}#ems-plugin .ems-add-event-wrapper .ems-form-row .ems-form-group{
    flex: 1;
}#ems-plugin .ems-add-event-wrapper .ems-ticket{
    border: 1px dashed var(--ems-border);
    border-radius: var(--ems-radius-md);
    padding: var(--ems-space-4);
    margin-bottom: var(--ems-space-3);
    background: var(--ems-bg-secondary);
}/* .ems-add-event-wrapper .ems-upload-btn,
#ems-plugin .ems-add-event-wrapper #ems-upload-image-btn,
#ems-plugin .ems-add-event-wrapper #ems-add-attachment-btn{
    background: var(--ems-primary-focus);
    color: var(--ems-primary);
    border: none;
    padding: var(--ems-space-2) var(--ems-space-4);
    border-radius: var(--ems-radius-md);
    cursor: pointer;
    font-weight: var(--ems-font-weight-medium);
}#ems-plugin .ems-add-event-wrapper .ems-upload-btn:hover,
#ems-plugin .ems-add-event-wrapper #ems-upload-image-btn:hover,
#ems-plugin .ems-add-event-wrapper #ems-add-attachment-btn:hover{
    background: var(--ems-border-light);
}*/


.ems-add-event-wrapper .ems-form-actions{
    display: flex;
    justify-content: flex-end;
    gap: var(--ems-space-3);
    margin-top: 32px;
}#ems-plugin .ems-add-event-wrapper .ems-btn-primary,
#ems-plugin .ems-add-event-wrapper #ems-submit-event-btn.ems-btn-primary{
    background: var(--ems-primary);
    color: var(--ems-white);
    padding: var(--ems-space-3) var(--ems-space-6);
    border-radius: var(--ems-radius-md);
    border: none;
    font-weight: var(--ems-font-weight-semibold);
    cursor: pointer;
}#ems-plugin .ems-add-event-wrapper .ems-btn-primary:hover,
#ems-plugin .ems-add-event-wrapper #ems-submit-event-btn.ems-btn-primary:hover{
    background: var(--ems-primary-hover);
}/* .ems-add-event-wrapper .ems-btn-secondary{
    background: var(--ems-bg-secondary);
    color: var(--ems-text-secondary);
    padding: var(--ems-space-3) var(--ems-space-6);
    border-radius: var(--ems-radius-md);
    border: none;
    cursor: pointer;
}#ems-plugin .ems-add-event-wrapper .ems-btn-secondary:hover{
    background: var(--ems-border-light);
}*/




.ems-ticket-card{
    border: 1px solid var(--ems-border-light);
    border-radius: var(--ems-radius-md);
    padding: var(--ems-space-4);
    margin-bottom: var(--ems-space-3);
    background: var(--ems-bg-surface);
    transition: all var(--ems-transition-fast) ease;
    position: relative;
}#ems-plugin .ems-ticket-card:hover{
    border-color: var(--ems-primary);
    box-shadow: var(--ems-shadow-sm);
}#ems-plugin .ems-ticket-card.ems-ticket-disabled{
    background: var(--ems-error-bg);
    border-color: var(--ems-error-border);
    opacity: 0.85;
}#ems-plugin .ems-ticket-card.ems-ticket-disabled:hover{
    border-color: var(--ems-error);
    box-shadow: var(--ems-shadow-sm);
}#ems-plugin .ems-ticket-badge{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: var(--ems-space-xs) var(--ems-space-3);
    border-radius: var(--ems-radius-lg);
    font-size: var(--ems-xs-size);
    font-weight: var(--ems-font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}#ems-plugin .ems-ticket-badge-started{
    background: linear-gradient(135deg, var(--ems-error-bg) 0%, var(--ems-error-border) 100%);
    color: var(--ems-error-text);
    border: 1px solid var(--ems-error-border);
    box-shadow: var(--ems-shadow-sm);
}#ems-plugin .ems-ticket-badge-available{
    background: linear-gradient(135deg, var(--ems-success-bg) 0%, var(--ems-success-border) 100%);
    color: var(--ems-success-text);
    border: 1px solid var(--ems-success-border);
}#ems-plugin .ems-badge-icon{
    font-size: var(--ems-body-size);
    line-height: 1;
}#ems-plugin .ems-badge-text{
    line-height: 1;
}#ems-plugin .ems-ticket-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--ems-space-3);
    flex-wrap: wrap;
    gap: var(--ems-space-sm);
}#ems-plugin .ems-ticket-name{
    font-size: var(--ems-body-large-size);
    font-weight: var(--ems-font-weight-semibold);
    color: var(--ems-text-primary);
    flex: 1;
    min-width: 200px;
}#ems-plugin .ems-ticket-details{
    display: flex;
    flex-direction: column;
    gap: var(--ems-space-2);
    font-size: var(--ems-body-size);
    color: var(--ems-text-secondary);
}#ems-plugin .ems-ticket-details>span{
    display: flex;
    align-items: center;
    gap: var(--ems-space-sm);
}#ems-plugin .ems-ticket-details strong{
    color: var(--ems-text-primary);
    font-weight: var(--ems-font-weight-semibold);
    min-width: 70px;
}#ems-plugin .ems-ticket-dates{
    display: flex;
    align-items: center;
    gap: var(--ems-space-xs);
    flex-wrap: wrap;
}#ems-plugin .ems-no-date{
    color: var(--ems-text-muted);
    font-style: italic;
    font-size: var(--ems-small-size);
}#ems-plugin .ems-ticket-disabled-notice{
    display: block;
    margin-top: var(--ems-space-2);
    padding: var(--ems-space-2) var(--ems-space-3);
    background: var(--ems-error-bg);
    border-left: 3px solid var(--ems-error);
    border-radius: var(--ems-radius-sm);
    font-size: var(--ems-small-size);
    color: var(--ems-error-text);
}#ems-plugin .ems-ticket-radio{
    margin-right: var(--ems-space-3);
    cursor: pointer;
}#ems-plugin .ems-ticket-card.ems-ticket-disabled .ems-ticket-radio{
    cursor: not-allowed;
    opacity: 0.5;
}#ems-plugin .ems-ticket-selection-info{
    margin-top: var(--ems-space-4);
    padding: var(--ems-space-4);
    background: var(--ems-info-bg);
    border: 1px solid var(--ems-info-border);
    border-radius: var(--ems-radius-md);
}#ems-plugin .ems-ticket-selection-info h4{
    margin: 0 0 var(--ems-space-2) 0;
    color: var(--ems-info-text);
    font-size: var(--ems-body-large-size);
}#ems-plugin .ems-ticket-selection-info p{
    margin: 0;
    color: var(--ems-info-text);
    font-size: var(--ems-body-size);
}#ems-plugin .ems-add-event-wrapper .ems-radio-label{
    display: flex;
    align-items: center;
    gap: var(--ems-space-2);
    font-size: var(--ems-body-size);
    font-weight: 400;
    color: var(--ems-text-secondary);
    cursor: pointer;
}#ems-plugin .ems-add-event-wrapper .ems-radio-label input[type="radio"]{
    width: auto;
    margin: 0;
    cursor: pointer;
}#ems-plugin .ems-add-event-wrapper .ems-form-group input.ems-ticket-radio{
    max-width: 20px;
}#ems-plugin .ems-add-event-wrapper .ems-form-group .ems-ticket-list label .ems-ticket-card-content{
    width: 100%;
}#ems-plugin .ems-add-event-wrapper .ems-form-group .ems-ticket-list label .ems-ticket-card-content .ems-ticket-description{
    margin-top: var(--ems-space-5);
    display: block;
}#ems-plugin .ems-add-event-wrapper .ems-form-group label .ems-card-content{
    width: 100%;
}#ems-plugin .ems-add-event-wrapper .ems-checkbox-label{
    display: flex;
    align-items: center;
    gap: var(--ems-space-2);
    font-size: var(--ems-body-size);
    font-weight: 400;
    color: var(--ems-text-secondary);
    cursor: pointer;
}#ems-plugin .ems-add-event-wrapper .ems-checkbox-label input[type="checkbox"]{
    width: auto;
    margin: 0;
    cursor: pointer;
}#ems-plugin .ems-add-event-wrapper .ems-field-hint{
    display: block;
    font-size: var(--ems-xs-size);
    color: var(--ems-text-muted);
    margin-top: var(--ems-space-1);
    font-style: italic;
}#ems-plugin .ems-add-event-wrapper .ems-required{
    color: var(--ems-error);
}#ems-plugin .ems-add-event-wrapper .ems-image-preview{
    margin-top: var(--ems-space-3);
    display: flex;
    align-items: center;
    gap: var(--ems-space-3);
}#ems-plugin .ems-add-event-wrapper .ems-image-preview img{
    max-width: 200px;
    max-height: 150px;
    border-radius: var(--ems-radius-md);
    object-fit: cover;
}#ems-plugin .ems-add-event-wrapper .ems-remove-image,
#ems-plugin .ems-add-event-wrapper .ems-remove-attachment{
    background: var(--ems-error-bg);
    color: var(--ems-error-text);
    border: none;
    padding: var(--ems-space-1) var(--ems-space-3);
    border-radius: var(--ems-radius-sm);
    cursor: pointer;
    font-size: var(--ems-xs-size);
    font-weight: var(--ems-font-weight-medium);
}#ems-plugin .ems-add-event-wrapper .ems-remove-image:hover,
#ems-plugin .ems-add-event-wrapper .ems-remove-attachment:hover{
    background: var(--ems-error-bg);
}#ems-plugin .ems-add-event-wrapper .ems-attachments-list{
    margin-top: var(--ems-space-3);
}#ems-plugin .ems-add-event-wrapper .ems-attachment-item{
    display: flex;
    align-items: center;
    gap: var(--ems-space-3);
    padding: var(--ems-space-3);
    background: var(--ems-bg-secondary);
    border-radius: var(--ems-radius-md);
    margin-bottom: var(--ems-space-sm);
}#ems-plugin .ems-add-event-wrapper .ems-attachment-item span{
    flex: 1;
    font-size: var(--ems-body-size);
    color: var(--ems-text-secondary);
}#ems-plugin .ems-add-event-wrapper .ems-attachment-item a{
    color: var(--ems-primary);
    text-decoration: none;
    font-size: var(--ems-body-size);
    font-weight: var(--ems-font-weight-medium);
}#ems-plugin .ems-add-event-wrapper .ems-attachment-item a:hover{
    text-decoration: underline;
}#ems-plugin .ems-add-event-wrapper .ems-conditional-section{
    margin-top: var(--ems-space-md);
}@media (max-width: 640px){#ems-plugin .ems-add-event-wrapper .ems-form-row{
        flex-direction: column;
    }#ems-plugin .ems-add-event-wrapper .ems-radio-group{
        flex-direction: column;
        gap: var(--ems-space-sm);
    }#ems-plugin .ems-add-event-wrapper{
        margin: 20px auto;
        padding: 0 12px;
    }#ems-plugin .ems-add-event-wrapper .ems-form-section{
        padding: var(--ems-space-md);
    }#ems-plugin .ems-add-event-wrapper .ems-form-actions{
        flex-direction: column;
    }#ems-plugin .ems-add-event-wrapper .ems-form-actions .ems-btn-primary,
#ems-plugin .ems-add-event-wrapper .ems-form-actions .ems-btn-secondary{
        width: 100%;
    }
}#ems-plugin .ems-certificates-section{
    padding: var(--ems-space-5) 0;
}#ems-plugin .ems-certificates-list{
    display: flex;
    flex-direction: column;
    gap: var(--ems-space-5);
    margin-top: var(--ems-space-5);
}#ems-plugin .ems-certificate-item{
    background: var(--ems-bg-surface);
    border: 1px solid var(--ems-border-light);
    border-radius: var(--ems-radius-md);
    padding: var(--ems-space-5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: box-shadow 0.2s ease;
}#ems-plugin .ems-certificate-item:hover{
    box-shadow: var(--ems-shadow-sm);
}#ems-plugin .ems-certificate-info h4{
    margin: 0 0 8px 0;
    font-size: var(--ems-h4-size);
    color: var(--ems-text-primary);
}#ems-plugin .ems-certificate-date{
    color: var(--ems-text-secondary);
    font-size: var(--ems-body-size);
    margin: 4px 0;
}#ems-plugin .ems-certificate-id{
    color: var(--ems-text-muted);
    font-size: var(--ems-xs-size);
    font-family: monospace;
    margin-top: var(--ems-space-sm);
}#ems-plugin .ems-certificate-actions{
    margin-left: var(--ems-space-5);
}#ems-plugin .ems-certificate-actions{
    display: flex;
    gap: var(--ems-space-3);
    align-items: center;
    flex-wrap: wrap;
}#ems-plugin .ems-btn-success{
    background-color: var(--ems-success);
    color: var(--ems-white);
    border-color: var(--ems-success);
}#ems-plugin .ems-btn-success:hover{
    background-color: var(--ems-success);
    border-color: var(--ems-success);
}#ems-plugin .ems-certificate-actions .ems-btn{
    white-space: nowrap;
}#ems-plugin .ems-certificate-preview-content{
    display: flex;
    flex-direction: column;
}#ems-plugin .ems-certificate-preview-wrapper{
    transform-origin: top center;
    width: 100%;
}#ems-plugin .ems-certificate-preview-wrapper .certificate-wrapper{
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(var(--ems-black-rgb), 0.15);
    transform: scale(0.7);
    transform-origin: top center;
    transition: transform 0.3s ease;
}#ems-plugin .ems-certificate-preview-wrapper .certificate-wrapper:hover{
    transform: scale(0.75);
}#ems-plugin .ems-certificate-preview-content .ems-modal-body{
    position: relative;
}#ems-plugin .ems-modal-footer{
    padding: 15px 20px;
    border-top: 1px solid var(--ems-border-light);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background: var(--ems-bg-secondary);
}#ems-plugin .ems-modal-body{
    padding: var(--ems-space-5);
    overflow-y: auto;
}@media (max-width: 768px){#ems-plugin .ems-certificate-preview-wrapper .certificate-wrapper{
        transform: scale(0.5);
    }#ems-plugin .ems-certificate-actions{
        flex-direction: column;
        width: 100%;
    }#ems-plugin .ems-certificate-actions .ems-btn{
        width: 100%;
    }
}#ems-plugin .ems-reminder-settings{
    background: var(--ems-bg-secondary);
    padding: 8px 14px;
    border-radius: var(--ems-radius-lg);
    border: 1px solid var(--ems-border);
    transition: all var(--ems-transition-normal);
    box-shadow: var(--ems-shadow-sm);
}#ems-plugin .ems-reminder-settings:hover{
    border-color: var(--ems-primary);
    box-shadow: var(--ems-shadow-md);
}#ems-plugin .ems-reminder-input{
    border: 1px solid var(--ems-border) !important;
    border-radius: var(--ems-radius-md) !important;
    padding: var(--ems-space-xs) 10px !important;
    font-size: var(--ems-small-size) !important;
    color: var(--ems-text-primary) !important;
    background-color: var(--ems-white) !important;
    outline: none;
    transition: all var(--ems-transition-fast);
}#ems-plugin .ems-reminder-input:focus{
    border-color: var(--ems-primary) !important;
    box-shadow: 0 0 0 3px var(--ems-primary-focus) !important;
}#ems-plugin .ems-save-reminder-btn{
    background: var(--ems-primary) !important;
    color: var(--ems-white) !important;
    font-weight: var(--ems-font-weight-semibold) !important;
    transition: all var(--ems-transition-fast) !important;
}#ems-plugin .ems-save-reminder-btn:hover{
    background: var(--ems-primary-dark) !important;
    transform: translateY(-1px);
}#ems-plugin .ems-remove-reminder-btn{
    opacity: 0.6;
    transition: opacity var(--ems-transition-fast);
}#ems-plugin .ems-remove-reminder-btn:hover{
    opacity: 1;
    color: var(--ems-error) !important;
}#ems-plugin .ems-reminder-status{
    font-size: var(--ems-body-size);
    vertical-align: middle;
    animation: emsEmojiPulse 1.5s infinite ease-in-out;
}@keyframes emsEmojiPulse{
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}@media (max-width: 768px){#ems-plugin .ems-reminder-settings{
        width: 100%;
        justify-content: flex-start;
    }
}@media (max-width: 640px){#ems-plugin .ems-certificate-item{
        flex-direction: column;
        align-items: flex-start;
        gap: var(--ems-space-md);
    }#ems-plugin .ems-certificate-actions{
        margin-left: 0;
        width: 100%;
    }#ems-plugin .ems-certificate-actions .ems-btn{
        width: 100%;
    }
}.tribe-events-calendar-list address.tribe-events-calendar-list__event-venue{
    display: none;
}form#ems-edit-profile-form{
    padding: var(--ems-space-5);
    overflow:auto;
}#ems-plugin a{
    --webkit-appearance: none;
    padding: 0px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--ems-primary);
    font-weight: var(--ems-font-weight-bold);
    font-size: var(--ems-body-size);
    letter-spacing: 0.36px;
    line-height: 15px;
    position: relative;
    display: inline-block;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    text-transform: uppercase;
    transition: var(--ems-transition-normal) ease-in-out;
}#ems-plugin a:hover{
    color: var(--ems-primary-hover);
}.tribe-events .tribe-events-c-events-bar .tribe-common-form-control-text__input{
    padding-left: 50px !important;
}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-events-bar__search-container{
    padding: 10px;
}.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-search{
    gap: 10px;
}img.emoji{
    max-width: 20px;
}#ems-plugin .ems-modern-form{
    background: var(--ems-bg);
    padding: var(--ems-space-xl);
    border-radius: var(--ems-radius-xl);
    border: 1px solid var(--ems-bg-tertiary);
    margin-top: var(--ems-space-5);
}#ems-plugin .ems-form-row{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ems-space-lg);
    margin-bottom: var(--ems-space-lg);
}@media (max-width: 768px){#ems-plugin .ems-form-row{
        grid-template-columns: 1fr;
        gap: var(--ems-space-md);
        margin-bottom: var(--ems-space-md);
    }
}#ems-plugin .ems-form-submit-group{
    display: flex;
    align-items: flex-end;
    gap: 15px;
}#ems-plugin .ems-btn-submit{
    height: 45px;
    padding: 0 var(--ems-space-lg);
    background: var(--ems-primary);
    color: var(--ems-white) !important;
    border: none;
    border-radius: 10px;
    font-weight: var(--ems-font-weight-bold);
    font-size: var(--ems-body-size);
    display: inline-flex;
    align-items: center;
    gap: var(--ems-space-sm);
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    justify-content: center;
}#ems-plugin .ems-btn-submit:hover{
    background: var(--ems-primary-darker) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--ems-primary-rgb), 0.2);
}#ems-plugin .ems-form-group label{
    font-size: var(--ems-xs-size);
    font-weight: var(--ems-font-weight-bold);
    color: var(--ems-slate-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--ems-space-sm);
}#ems-plugin .ems-modern-form input,
#ems-plugin .ems-modern-form select{
    background: var(--ems-bg-surface) !important;
    border: 1px solid var(--ems-slate-300) !important;
    height: 45px !important;
    border-radius: 10px !important;
}#ems-plugin .ems-modern-form input:focus,
#ems-plugin .ems-modern-form select:focus{
    border-color: var(--ems-primary) !important;
    box-shadow: 0 0 0 4px rgba(var(--ems-primary-rgb), 0.1) !important;
}#ems-plugin .ems-alert-banner{
    display: flex;
    align-items: center;
    gap: var(--ems-space-md);
    padding: var(--ems-space-md) var(--ems-space-5);
    background: var(--ems-sky-50);
    border: 1px solid var(--ems-sky-100);
    border-radius: var(--ems-radius-lg);
    margin-bottom: 30px;
    color: var(--ems-sky-600);
}#ems-plugin .ems-alert-icon{
    flex-shrink: 0;
    color: var(--ems-sky-500);
}#ems-plugin .ems-alert-content{
    font-size: var(--ems-body-size);
    line-height: 1.5;
}#ems-plugin .ems-alert-content strong{
    color: var(--ems-sky-900);
}#ems-plugin .ems-dashboard h3{
    font-size: var(--ems-h2-size);
    font-weight: 800;
    color: var(--ems-slate-800);
    margin-bottom: var(--ems-space-xl);
    letter-spacing: -0.5px;
}#ems-plugin .ems-section-header h4{
    font-size: var(--ems-body-size) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: var(--ems-slate-400) !important;
    font-weight: 800 !important;
}#ems-plugin .ems-section-header{
    border-bottom: 2px solid var(--ems-bg-secondary);
    padding-bottom: 8px;
    margin-bottom: var(--ems-space-lg) !important;
}#ems-plugin .ems-family-list-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--ems-space-lg);
    margin-bottom: var(--ems-space-10);
}#ems-plugin .ems-family-card{
    background: var(--ems-bg-surface);
    border: 1px solid var(--ems-border-subtle);
    border-radius: 20px;
    box-shadow: var(--ems-shadow-card);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    height: 100%;
}#ems-plugin .ems-family-card:hover{
    transform: translateY(-8px);
    box-shadow: var(--ems-shadow-xl);
    border-color: rgba(var(--ems-primary-rgb), 0.3);
}#ems-plugin .ems-card-badges{
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: var(--ems-space-sm);
    align-items: flex-end;
    z-index: 10;
}#ems-plugin .ems-badge{
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 10px rgba(var(--ems-black-rgb), 0.03);
    display: flex;
    align-items: center;
    gap: 6px;
}#ems-plugin .ems-badge svg{
    width: 12px;
    height: 12px;
}#ems-plugin .ems-badge-pending{
    background: var(--ems-pending-bg);
    color: var(--ems-amber-700);
    border: 1px solid var(--ems-pending-border);
}#ems-plugin .ems-badge-verified{
    background: var(--ems-emerald-50);
    color: var(--ems-emerald-600);
    border: 1px solid var(--ems-verified-border);
}#ems-plugin .ems-badge-highlight{
    background: var(--ems-blue-50);
    color: var(--ems-blue-600);
    border: 1px solid var(--ems-blue-200);
}#ems-plugin .ems-family-card-header{
    padding: 40px 24px 20px;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    /* text-align: center; */
    background: linear-gradient(to bottom, var(--ems-bg) 0%, var(--ems-bg-surface) 100%);
    border-bottom: 1px solid var(--ems-bg-secondary);
}#ems-plugin .ems-member-avatar{
    width: 72px;
    height: 72px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--ems-primary) 0%, var(--ems-primary-darker) 100%);
    color: var(--ems-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--ems-h2-size);
    font-weight: 800;
    margin-bottom: var(--ems-space-md);
    box-shadow: 0 10px 15px -3px rgba(var(--ems-primary-rgb), 0.3);
    border: 4px solid var(--ems-white);
    transform: rotate(-3deg);
    transition: all 0.3s;
}#ems-plugin .ems-family-card:hover .ems-member-avatar{
    transform: rotate(0deg) scale(1.05);
}#ems-plugin .ems-family-name{
    margin: 0;
    font-size: var(--ems-h3-size);
    font-weight: 800;
    color: var(--ems-slate-900);
    line-height: 1.2;
}#ems-plugin .ems-family-relationship-tag{
    display: inline-block;
    margin-top: var(--ems-space-sm);
    padding: var(--ems-space-xs) var(--ems-space-3);
    background: var(--ems-bg-secondary);
    color: var(--ems-slate-600);
    border-radius: var(--ems-radius-lg);
    font-size: var(--ems-caption-size);
    font-weight: var(--ems-font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}#ems-plugin .ems-family-card-body{
    padding: var(--ems-space-lg) 30px;
    flex-grow: 1;
}#ems-plugin .ems-details-grid{
    display: flex;
    flex-direction: column;
    gap: 18px;
}#ems-plugin .ems-detail-item{
    display: flex;
    align-items: center;
    gap: 14px;
}#ems-plugin .ems-detail-icon{
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ems-primary);
    background: rgba(var(--ems-primary-rgb), 0.08);
    /* Light highlight */
    background: rgba(var(--ems-primary-rgb), 0.08);
    border-radius: var(--ems-radius-lg);
    flex-shrink: 0;
}#ems-plugin .ems-detail-content{
    display: flex;
    flex-direction: column;
}#ems-plugin .ems-detail-content label{
    font-size: 10px;
    text-transform: uppercase;
    color: var(--ems-slate-400);
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 2px;
}#ems-plugin .ems-detail-value{
    font-size: var(--ems-body-size);
    color: var(--ems-slate-700);
    font-weight: var(--ems-font-weight-semibold);
}#ems-plugin .ems-family-card-actions{
    padding: 10px 24px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ems-space-3);
}#ems-plugin .ems-action-btn{
    height: 44px;
    border-radius: var(--ems-radius-lg);
    font-size: var(--ems-small-size);
    font-weight: var(--ems-font-weight-bold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--ems-space-sm);
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}#ems-plugin .ems-btn-edit{
    background: var(--ems-slate-800);
    color: var(--ems-white) !important;
}#ems-plugin .ems-btn-edit:hover{
    background: var(--ems-slate-900);
    transform: translateY(-2px);
    box-shadow: var(--ems-shadow-md);
}#ems-plugin .ems-btn-delete{
    background: var(--ems-rose-50);
    color: var(--ems-rose-500) !important;
}#ems-plugin .ems-btn-delete:hover{
    background: var(--ems-rose-100);
    color: var(--ems-white) !important;
}#ems-plugin .ems-btn-resend{
    grid-column: 1 / -1;
    background: var(--ems-orange-50);
    color: var(--ems-orange-700) !important;
    border: 1px dashed var(--ems-orange-300);
}#ems-plugin .ems-btn-resend:hover{
    background: var(--ems-orange-100);
}#ems-plugin .ems-activation-footer{
    background: var(--ems-bg);
    border-top: 1px solid var(--ems-bg-secondary);
    padding: var(--ems-space-lg);
}#ems-plugin .ems-activation-title{
    font-size: var(--ems-body-size);
    font-weight: 800;
    color: var(--ems-slate-800);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: var(--ems-space-sm);
}#ems-plugin .ems-activation-title::before{
    content: '??';
    font-size: var(--ems-body-large-size);
}#ems-plugin .ems-activation-text{
    font-size: var(--ems-xs-size);
    color: var(--ems-slate-500);
    line-height: 1.6;
    margin-bottom: var(--ems-space-5);
}#ems-plugin .ems-activation-actions{
    display: flex;
    gap: var(--ems-space-3);
}#ems-plugin .ems-btn-mini{
    flex: 1;
    height: 38px;
    border-radius: 10px;
    font-size: var(--ems-xs-size);
    font-weight: var(--ems-font-weight-bold);
    cursor: pointer;
    transition: all 0.2s;
}#ems-plugin .ems-btn-mini.ems-btn-primary{
    background: var(--ems-primary);
    color: var(--ems-white);
    border: none;
}#ems-plugin .ems-btn-mini.ems-btn-primary:hover{
    filter: brightness(1.1);
    transform: scale(1.02);
}#ems-plugin .ems-btn-mini.ems-btn-ghost{
    background: var(--ems-bg-surface);
    border: 1px solid var(--ems-bg-tertiary);
    color: var(--ems-slate-600);
}#ems-plugin .ems-btn-mini.ems-btn-ghost:hover{
    background: var(--ems-bg);
    border-color: var(--ems-slate-300);
}small#charCount{
    float: right;
}select.ems-form-control[multiple]{
    height: auto !important;
    min-height: 140px !important;
    padding: var(--ems-space-sm) !important;
    overflow-y: auto !important;
    background-image: none !important;
    border: 1px solid var(--ems-border) !important;
    border-radius: var(--ems-radius-md) !important;
    font-family: inherit !important;
    font-size: var(--ems-body-size) !important;
}select.ems-form-control[multiple] option{
    padding: 10px 15px;
    margin-bottom: 2px;
    border-radius: var(--ems-radius-sm);
    transition: all var(--ems-transition-fast);
    cursor: pointer;
    color: var(--ems-text-primary);
}select.ems-form-control[multiple] option:checked{
    background: var(--ems-primary) linear-gradient(135deg, var(--ems-primary) 0%, var(--ems-primary-hover) 100%) !important;
    color: var(--ems-white) !important;
    font-weight: var(--ems-font-weight-semibold);
}select.ems-form-control[multiple] option:hover{
    background-color: var(--ems-bg-secondary);
}select.ems-form-control[multiple]::-webkit-scrollbar{
    width: 6px;
}select.ems-form-control[multiple]::-webkit-scrollbar-track{
    background: var(--ems-bg-secondary);
    border-radius: 3px;
}select.ems-form-control[multiple]::-webkit-scrollbar-thumb{
    background: var(--ems-border);
    border-radius: 3px;
}select.ems-form-control[multiple]::-webkit-scrollbar-thumb:hover{
    background: var(--ems-text-muted);
}#ems-plugin .ems-multi-select-container{
    position: relative;
    width: 100%;
}#ems-plugin .ems-multi-select-input{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--ems-space-sm);
    min-height: 53px;
    padding: var(--ems-space-sm) var(--ems-space-3);
    cursor: pointer;
    position: relative;
    background: var(--ems-bg-surface);
}#ems-plugin .ems-selected-tags{
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: calc(100% - 30px);
}#ems-plugin .ems-select-tag{
    background: var(--ems-primary);
    background: linear-gradient(135deg, var(--ems-primary) 0%, var(--ems-primary-hover) 100%);
    color: var(--ems-white);
    padding: var(--ems-space-xs) 10px;
    border-radius: var(--ems-radius-sm);
    font-size: var(--ems-small-size);
    font-weight: var(--ems-font-weight-medium);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--ems-shadow-sm);
    animation: emsTagIn 0.2s ease-out;
}@keyframes emsTagIn{
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}#ems-plugin .ems-tag-remove{
    cursor: pointer;
    font-size: var(--ems-body-large-size);
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}#ems-plugin .ems-tag-remove:hover{
    opacity: 1;
}#ems-plugin .ems-multi-select-search{
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    flex: 1;
    min-width: 50px;
    cursor: pointer;
    box-shadow: none !important;
}#ems-plugin .ems-multi-select-arrow{
    position: absolute;
    right: var(--ems-space-3);
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: var(--ems-text-muted);
    pointer-events: none;
    transition: transform 0.2s;
}.is-active .ems-multi-select-arrow{
    transform: translateY(-50%) rotate(180deg);
}#ems-plugin .ems-multi-select-dropdown{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ems-bg-surface);
    border: 1px solid var(--ems-border);
    border-radius: var(--ems-radius-md);
    margin-top: 5px;
    box-shadow: var(--ems-shadow-lg);
    z-index: var(--ems-z-dropdown);
    max-height: 250px;
    overflow-y: auto;
    animation: emsDropdownIn 0.2s ease-out;
}@keyframes emsDropdownIn{
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}#ems-plugin .ems-multi-select-option{
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--ems-text-primary);
    font-size: var(--ems-body-size);
    display: flex;
    align-items: center;
    justify-content: space-between;
}#ems-plugin .ems-multi-select-option:hover{
    background: var(--ems-bg-secondary);
}#ems-plugin .ems-multi-select-option.selected{
    background: rgba(var(--ems-primary-rgb), 0.1);
    color: var(--ems-primary);
    font-weight: var(--ems-font-weight-semibold);
}#ems-plugin .ems-multi-select-option.selected::after{
    content: "✓";
    font-size: var(--ems-xs-size);
}#ems-plugin .ems-ticket-admin-actions{
    display: flex;
    gap: var(--ems-space-sm);
    margin-left: var(--ems-space-3);
    align-items: center;
}#ems-plugin .ems-admin-action-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--ems-radius-sm);
    background: var(--ems-admin-bg);
    border: 1px solid var(--ems-admin-border);
    cursor: pointer;
    font-size: var(--ems-body-size);
    transition: all 0.2s ease;
    text-decoration: none !important;
    line-height: 1;
    padding: 0;
}#ems-plugin .ems-admin-action-btn:hover{
    transform: translateY(-2px);
    box-shadow: var(--ems-shadow-md);
    background: var(--ems-bg-surface);
}#ems-plugin .ems-admin-edit-ticket:hover{
    color: var(--ems-google-blue);
    border-color: var(--ems-google-blue);
}#ems-plugin .ems-admin-delete-ticket:hover{
    color: var(--ems-google-red);
    border-color: var(--ems-google-red);
}#ems-plugin .ems-ticket-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}#ems-plugin .ems-admin-dashboard-wrap button.ems-modal-close,
#ems-plugin button.ems-modal-close{
    padding: 0;
    border: none;
}#ems-plugin button.ems-modal-close:hover{
    background: none;
}#ems-plugin .ems-ticket-attendees-display-wrapper{
    display: none;
}#ems-plugin .ems-modal-content{
    max-width:1000px;
}#ems-plugin .ems-native-qty-hidden,
#ems-plugin .ems-attendee-selector ~ .tribe-tickets__tickets-item-quantity,
#ems-plugin .ems-attendee-selector ~ .tribe-tickets__tickets-item-quantity-wrapper,
body .ems-attendee-selector ~ .tribe-tickets__tickets-item-quantity,
body .ems-attendee-selector ~ .tribe-tickets__tickets-item-quantity-wrapper{
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}.tribe-common a.tribe-common-c-btn--small{
    display: none;
}.event-tickets .tribe-tickets__tickets-item-extra{
    display:inline-block;
    float:right;
    padding:0;
}.event-tickets .tribe-tickets__tickets-item-content-title-container.tribe-tickets--no-description{
    display:inline-block;
}.tribe-tickets__tickets-item-extra .ems-ticket-price-only,
#ems-plugin .ems-ticket-price-only{
    font-weight: var(--ems-font-weight-semibold);
    font-size: 1.05em;
    color: var(--ems-slate-800);
}#ems-plugin .ems-ticket-capacity-display{
    display: inline-flex;
    align-items: center;
    gap: var(--ems-space-xs);
    margin: 6px 0 0;
    padding: 5px 12px;
    background: var(--ems-emerald-50);
    border: 1px solid var(--ems-emerald-200);
    border-radius: var(--ems-radius-sm);
    font-size: var(--ems-small-size);
    font-weight: var(--ems-font-weight-semibold);
    color: var(--ems-emerald-700);
    line-height: 1.3;
}.tribe-tickets__tickets-item-extra + .ems-ticket-capacity-display{
    margin-left: 0;
    margin-top: var(--ems-space-sm);
}#ems-plugin .ems-ticket-capacity-display.ems-capacity-sold-out{
    background: var(--ems-red-50);
    border-color: var(--ems-red-200);
    color: var(--ems-red-700);
}#ems-plugin .ems-ticket-capacity-display.ems-capacity-unlimited{
    background: var(--ems-sky-50);
    border-color: var(--ems-sky-200);
    color: var(--ems-sky-900);
}#ems-plugin .ems-max-participants-display.ems-max-participants-unlimited .ems-max-participants-count{
    font-weight: var(--ems-font-weight-semibold);
}#ems-plugin .ems-ticket-capacity-count{
    font-weight: var(--ems-font-weight-bold);
}@media (min-width: 768px){.tribe-tickets__tickets-item-content-header,
.tribe-tickets__tickets-item-details{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: var(--ems-space-3);
    }.tribe-tickets__tickets-item-extra + .ems-ticket-capacity-display{
        margin-top: 0;
    }
}.event-tickets .tribe-dialog__wrapper.tribe-modal__wrapper--ar .tribe-modal__content .tribe-tickets__tickets-item-quantity{
    width: 0;
    height: 0;
    opacity: 0;
}#ems-plugin .ems-modal-ticket-subtotal-label{
    display: none !important;
}.tribe-tickets__tickets-item-total-wrap.ems-modal-ticket-total-enhanced,
#ems-plugin .ems-modal-ticket-total-fallback.ems-modal-ticket-total-enhanced{
    display: block;
    width: 100%;
    margin-top: 6px;
    text-align: right;
}#ems-plugin .ems-modal-ticket-total-line{
    display: inline-flex;
    align-items: baseline;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0;
    font-size: 0.875rem;
    line-height: 1.35;
    color: var(--ems-slate-500);
    font-weight: 400;
}#ems-plugin .ems-modal-ticket-total-prefix{
    margin-right: 0;
    white-space: normal;
}#ems-plugin .ems-modal-ticket-total-line .tribe-tickets__tickets-item-total,
#ems-plugin .ems-modal-ticket-total-line .tribe-formatted-currency-wrap{
    display: inline;
    font-size: inherit;
    color: inherit;
    font-weight: inherit;
}#ems-plugin .ems-modal-ticket-total-line .tribe-currency-symbol,
#ems-plugin .ems-modal-ticket-total-line .tribe-amount{
    font-size: inherit;
    color: inherit;
    font-weight: inherit;
}.tribe-dialog .tribe-tickets__tickets-item.ems-modal-ticket-row-enhanced,
.tribe-modal__content .tribe-tickets__tickets-item.ems-modal-ticket-row-enhanced{
    padding-bottom: 8px;
}.tribe-dialog .tribe-tickets__tickets-item-extra,
.tribe-modal__content .tribe-tickets__tickets-item-extra{
    display: block;
    text-align: right;
}#ems-plugin .ems-modal-ticket-total-prefix{
    margin-right: var(--ems-space-5);
    font-weight: var(--ems-font-weight-semibold);
}#ems-plugin .ems-event-ticket-setup-modal{
    z-index: 10050;
}#ems-plugin .ems-event-ticket-setup-content{
    max-width: 420px;
    text-align: center;
    pointer-events: none;
}#ems-plugin .ems-event-ticket-setup-body{
    padding: 36px 28px 32px;
}#ems-plugin .ems-event-ticket-setup-spinner{
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    border: 4px solid rgba(var(--ems-primary-rgb, 99, 102, 241), 0.2);
    border-top-color: var(--ems-primary);
    border-radius: 50%;
    animation: ems-event-ticket-spin 0.85s linear infinite;
}@keyframes ems-event-ticket-spin{
    to {
        transform: rotate(360deg);
    }
}#ems-plugin .ems-event-ticket-setup-body h3{
    margin: 0 0 10px;
    font-size: var(--ems-h4-size);
    font-weight: var(--ems-font-weight-semibold);
    color: var(--ems-text-primary);
    line-height: 1.4;
}#ems-plugin .ems-event-ticket-setup-progress{
    margin: 0;
    font-size: var(--ems-body-size);
    color: var(--ems-text-secondary);
    min-height: 1.25em;
}body.ems-event-ticket-setup-active{
    overflow: hidden;
}
body .tribe-tickets__tickets-item-quantity.ems-native-qty-hidden{
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
.tribe-link-view-attendee{
    padding-top:10px;
}

/* Terms & Conditions (event registration) */
.ems-terms-conditions-section{
    margin: 16px 0 20px;
    padding: 16px 18px;
    background: #f5f3ff;
    border: 1px solid #c4b5fd;
    border-radius: 10px;
    color: #1e1b4b;
}
.ems-terms-conditions-section.ems-terms-conditions-error{
    border-color: #f87171;
    box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.25);
}
.ems-terms-conditions-title{
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #5b21b6;
    line-height: 1.3;
}
.ems-terms-conditions-title .ems-terms-required{
    color: #dc2626;
    font-weight: 700;
}
.ems-terms-conditions-intro{
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #1f2937;
}
.ems-terms-pdf-list{
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ems-terms-pdf-item{
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 1.4;
}
.ems-terms-pdf-icon{
    display: inline-flex;
    flex-shrink: 0;
    color: #6d28d9;
}
.ems-terms-pdf-link{
    color: #2563eb;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.ems-terms-pdf-link:hover,
.ems-terms-pdf-link:focus{
    color: #1d4ed8;
}
.ems-terms-pdf-type{
    color: #9ca3af;
    font-size: 13px;
    font-weight: 400;
}
.ems-terms-agree-label{
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.45;
    color: #1f2937;
    font-weight: 500;
}
.ems-terms-agree-checkbox{
    margin: 3px 0 0;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: #7c3aed;
    cursor: pointer;
}
.ems-terms-agree-text{
    flex: 1;
}
.tribe-tickets__tickets-buy.ems-terms-buy-disabled,
.tribe-tickets__buy-button.ems-terms-buy-disabled,
button.ems-terms-buy-disabled{
    opacity: 0.55 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}
body.ems-event-guest .ems-terms-conditions-section{
    display: none !important;
}
.ems-terms-conditions-section{
    padding:20px !important;
}
.ems-terms-conditions-section ul.ems-terms-pdf-list {
    margin: 10px 0;
}

.ems-terms-conditions-section input#ems-terms-agree-checkbox {
    margin-right: 12px;
    top: 2px;
    position: relative;
}
.tribe-tickets__tickets-footer.tribe-tickets__tickets-footer--active {
    flex-wrap: wrap;
    row-gap: 20px;
}
.ems-premium-modal .ems-modal-body{
    max-height:50vh;
    overflow-y: auto;
}
.page-header .entry-title, .site-footer .footer-inner, .site-footer:not(.dynamic-footer), .site-header .header-inner, .site-header:not(.dynamic-header), body:not([class*=elementor-page-]) .site-main{
    max-width:77% !important;
}
.page-header .entry-title{
    max-width:100% !important;
}
body .site-header:not(.dynamic-header){
    max-width:1048px !important;
}


@media(max-width:1200px){
    .page-header .entry-title, .site-footer .footer-inner, .site-footer:not(.dynamic-footer), .site-header .header-inner, .site-header:not(.dynamic-header), body:not([class*=elementor-page-]) .site-main{
        max-width:none !important;
        padding:0 20px;
    }
}