.community-module {
    padding: 20px;
}

.module-header {
    margin-bottom: 30px;
}

.filters-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #dee2e6;
}

.profiles-section {
    background: #e9ecef;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
}

.messaging-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.message-counter {
    text-align: center;
    margin-bottom: 20px;
}

.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 5px;
}

.card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.community-module .card-header {
    background-color: #e9ecef;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
}

.invalid-field {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.custom-control-label {
    font-weight: 500;
    color: #495057;
}

.selectForm {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 8px 12px;
}

.selectForm:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.chosen-container {
    width: 100% !important;
}

.chosen-container-multi .chosen-choices {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 5px;
    min-height: 38px;
}

/* Estilos mejorados para el select Chosen de plantillas */
/* #chargeTemplate + .chosen-container {
    height: 46px !important;
} */

#chargeTemplate + .chosen-container .chosen-single {
    height: 48px !important;
    /* line-height: 46px !important; */
    padding: 0 15px !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08) !important;
    font-size: 18px !important;
    color: #495057 !important;
    transition: all 0.3s ease !important;
}

#chargeTemplate + .chosen-container .chosen-single:hover {
    border-color: #80bdff !important;
    box-shadow: 0 2px 6px rgba(0,123,255,0.15) !important;
}

/* #chargeTemplate + .chosen-container.chosen-container-active .chosen-single {
    border-color: #80bdff !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
} */

/* #chargeTemplate + .chosen-container .chosen-single span {
    margin-right: 10px !important;
} */

#chargeTemplate + .chosen-container .chosen-single div b {
    background-position: 0 8px !important;
}

/* #chargeTemplate + .chosen-container .chosen-drop {
    border: 1px solid #dee2e6 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    margin-top: 5px !important;
} */

#chargeTemplate + .chosen-container .chosen-results {
    padding: 8px 0 !important;
    max-height: 300px !important;
}

#chargeTemplate + .chosen-container .chosen-results li {
    padding: 12px 15px !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
}

/* #chargeTemplate + .chosen-container .chosen-results li.highlighted {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
} */

#chargeTemplate + .chosen-container .chosen-results li.no-results {
    color: #6c757d !important;
    padding: 15px !important;
    text-align: center !important;
}

.loader-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-overlay {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.community-module .bg-pegasus {
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    color: white;
    padding: 10px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .community-module {
        padding: 10px;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
}
.selectForm{
    width: 70%;
}
select#searchSchoolAct {
    margin-left: -9px !important;
}
.checkbox > input[type=checkbox]{
    margin-right: 20px;
}
.i-required{
    color: red;
}
.panel-default, .row{
    width: 100%;
}
.group-title{
    margin-left: 20px;
    display: block;
}
b{
    font-size: 14px;
}
#frame-whatsapp, .row-whatsapp, .row-message{
    width: 100%;
}
/* #wrapper{
    width: 100%;
    border: 1px solid;
    background: white;
    border-radius: 5px;
    display: flex;
    box-shadow: -2px 3px 4px 0px rgb(124, 123, 123);
    padding-top: 20px;
    margin-right: -30px;
    margin-left: 30px;
    margin-bottom: 10px;
} */
.sendWhatsapp, .sendMessage{
    /* margin-left: 94%; */
}
.invalid-field{
    border: red solid 1px;
    background-color: #eee;
}
#frame-message{
    height: 100%;
    /* margin-top: -29px; */
}
.row-message{
    position: relative;
    top: -31%
}
.body-message2 > .row-character{
    position: relative;
    top: 100%;
}
.countMessage{
    margin-left: 78%;
}
.import-numbers{
    /* margin-top: -65px;
    margin-left: 82%;
    max-width: 11%; */
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.form-group.row.p-1{
    margin-left: -6px;
}
.form-group.profiles-section{
    margin-left: 12px;
}
.row-municipality{
    display: flex;
}