/* Community Pricing Styles */

.community-pricing-selector {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 5px;
}

.community-pricing-selector .form-group {
    margin-bottom: 15px;
}

.community-pricing-selector label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.community-pricing-selector select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

.community-pricing-selector button {
    padding: 8px 16px;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.community-pricing-selector button:hover {
}

/* Community Selector Link */
.community-selector-link {
    display: inline-block;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 500;
}

.community-selector-link:hover {
    text-decoration: underline;
}

.selected-community {
    color: #28a745;
    font-weight: normal;
}

/* Modal Styles (Fallback for non-Bootstrap sites) */
.community-pricing-modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.community-pricing-modal.show {
    display: block;
}

.community-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    display: none;
}

.community-modal-backdrop.show {
    display: block;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 30px auto;
    max-width: 500px;
}

.modal-content {
    position: relative;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    background-clip: padding-box;
    outline: 0;
}

.modal-header {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

.modal-header .close {
    margin-top: -2px;
    padding: 0;
    background: none;
    border: 0;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: 0.2;
    cursor: pointer;
}

.modal-header .close:hover {
    opacity: 0.5;
}

.modal-body {
    position: relative;
    padding: 15px;
}

/* Modal z-index fixes to ensure it appears above navigation */
.modal-backdrop {
    z-index: 1080 !important;
}

.modal.fade.show {
    z-index: 1090 !important;
}

#community-modal {
    z-index: 1090 !important;
}

/* CTA Styles */
.community-pricing-cta {
    text-align: center;
    margin-bottom: 20px;
}

.pricing-num {
    font-size: 32px;
    font-weight: bold;
}

.pricing-num.call {
    font-weight: normal;
    font-size: 16px;
}

.pr-per {
    display: block;
    font-size: 16px;
    font-weight: normal;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}


.btn-block {
    display: block;
    width: 100%;
}

.btn-large {
    padding: 12px 24px;
    font-size: 16px;
}

.btn-round {
    border-radius: 30px;
}

.blue-alert {
    background-color: #cce5ff;
    border: 1px solid #b8daff;
    color: #004085;
    padding: 10px;
    border-radius: 4px;
}
