
.modal {
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

/* For the modalContent element */
.modal-postContainer {
    background-color: white;
    margin: 2% auto;
    padding: 20px;
    border: none;
    width: 65%;
    height: 580px;
    overflow-y: scroll;
    border-radius: 12px;
   
  &::-webkit-scrollbar {
    width: 8px;
  }
  scrollbar-width: thin; /* For Firefox */
  scrollbar-color: rgba(0, 123, 255, 0.349) transparent;

  /* Customize the scrollbar thumb color */
  scrollbar-color: rgba(8, 8, 8, 0.349) transparent;

  /* Webkit-based browsers */
  &::-webkit-scrollbar-thumb {
    background-color: rgba(8, 8, 8, 0.349);
  }

  &::-webkit-scrollbar-thumb:hover {
    background-color: rgba(8, 8, 8, 0.349);
  }
  
}

.submodaldiv{
    display: flex;
    justify-content:space-between
  
}


.headingWrite{
    padding-top: 10px;
    font-size: 22px !important;
    font-weight: 600;
    /* padding-right: 10px; */
}

.headingSetting{
    padding-top: 10px;
    padding-right: 10px;
    font-size: 14px;
    color: #4285f4;
    cursor: pointer;
}

.headingSaveButton{
margin: 0;
margin-right: 15px;
padding: 4px;
border-radius: 5px;
border: 1px solid #555555;
width: 88px;
background: #555555;
color: white;
font-size: 14px;
}

.headingCloseButton{
    margin: 0;
    margin-right: 0px;
    padding: 4px;
    border-radius: 5px;
    border: 1px solid #e7e7e7;
    width: 88px;
    background: #e7e7e7;
    color: black;
    font-size: 14px;
}

/* box formation */
.details-box{
    border: 1px solid #ccc;
    margin-top: 20px;
}

/* input text */

.text-editor{
    border: 0;
    cursor: text;
    width: 96%;
    margin-left: 2%;
    max-height: none;
    min-height: 54px;
    padding-top: 8px;
    /* border-bottom: none; */
    --x-height-multiplier: 0.342;
    --baseline-multiplier: 0.22;
    font-weight: 500;
    color: black;
    font-size: 22px;
    line-height: 2.2;
    word-wrap: break-word;
}
.image-heading{
    pointer-events: auto;
   
    width: 100%;
    height: 42px;
    border-top: none;
    position: relative;
    margin-top: 0%;
    padding-left: 1%;
    padding: 1%;
    padding-top: 2%;
    /* padding-bottom: 0%; */
    height: auto;
}

.headingpara{
    width: 50%;
    text-align: left;
    font-size: 12px;
    color: gray;
    font-weight: 500;
    padding-left: 2%;
    padding-bottom: 15px;
}



.selecteditems{
    display: flex;
}

.selectingList{
    flex: 1;
    float: left;
    padding-left: 12px;
}

.ckeditor-container {
    max-height: 300px;
    overflow-y: auto;
    /* margin-top: 20px; */
}

.selectingList .fa-paperclip::before {
color: gray;
padding-left: 20px;
font-size: 20px;
padding-bottom: 30px;
margin-bottom: 20px;
}

.imageSelected{
    display: block;
    height: 80px;
    border-radius: 4px;
    padding-right: 15px;
    opacity: 1;
}

.close-button{
    position: absolute;
    top: 0;
    right: 5px;
    cursor: pointer;
}

.post-settings-nav-bar {
    display: block;
    background: white;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 1000001;
    overflow-y: auto;
    width: 30%;
    opacity: 1;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 8px, rgba(0, 0, 0, 0.19) 0px 6px 20px;
    margin-right: 15%;
    height: 93%;
    margin-top: 20px;
    top: 0;
    border-radius: 8px;
    padding: 20px;
}

.nav-header {
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

.close-btn {
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    color: #4285f4;
}

.section {
    margin-top: 20px;
}

.section-title {
    color: #4285f4;
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 10px;
    display: block;
}

.postradio-group {
    display: flex;
    flex-direction: column;
}

.postradio-group input[type="radio"] {
    display: none;
}

.postradio-group label {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    font-size: 14px;
    font-weight: 400;
    color: #242424;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s ease;
    margin-bottom: 5px;
    position: relative;
}

.postradio-group label:hover {
    background: #f0f0f0;
}

.postradio-group input[type="radio"]:checked + label {
    background: #f0f0f0; /* Background color for selected */
}

.postradio-group:checked + label:before, [type="radio"]:not(:checked) + label:before {
    border: none !important;
    background: transparent !important;
}

.postradio-group [type="radio"]:checked + label:after, [type="radio"]:not(:checked) + label:after {
    background: transparent !important;
}

.postradio-group input[type="radio"]:checked + label::before {
    content: '✔';
    display: inline-block;
    font-size: 16px;
    color: #4285f4;
    margin-right: 10px;
    border:none;
    background: transparent;
    position: relative;
}
/* General styling for the balance section */
.balance-section,.subscribe-section {
background: #ffffff;
border-radius: 8px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
padding: 10px;
margin: 10px;
max-width: 500px;
display: none;
flex-direction: column;
gap: 15px;
}

/* Styling for balance info */
.balance-info {
display: flex;
flex-direction: row;
gap: 10px;
}

/* Styling for labels within balance-info */
.balance-info .label {
font-size: 14px;
font-weight: 600;
color: #333333;
}

/* Styling for amount display */
.balance-info .amount {
font-size: 18px;
font-weight: 700;
color: #333333;
}

/* Button styling */
.recharge_btn {
background-color: #4285f4;
color: white;
border: none;
border-radius: 4px;
padding: 10px 15px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
text-align: center;
width: fit-content;
margin: 0 auto; /* Center align the button */
transition: background-color 0.3s ease;
}

.recharge_btn:hover {
background-color: #357ae8;
}

/* Styling for input group in balance section */
.input-group {
display: flex;
flex-direction: column;
gap: 5px;
margin-top: 12px;
}

/* Styling for labels within input-group */
.input-group .label {
font-size: 14px;
font-weight: 600;
color: #333333;
}

/* Styling for charge information */
.input-group .charge-info {
font-size: 14px;
color: #666666;
font-weight: 600;
}




.access-section, .post-type-section {
    display: flex;
    flex-direction: column;
}
/* General styling for the payment section */
.payment-section {
background: #ffffff;
border-radius: 8px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
padding: 10px;
margin: 10px;
max-width: 500px;
display: none;
}

/* Styling for each input group */
.input-group {
display: flex;
flex-direction: column;
margin-bottom: 15px;
}

/* Styling for labels */
.input-group label {
font-size: 14px;
font-weight: 600;
color: #333333;
margin-bottom: 5px;
}

/* Styling for spans and input fields */
.input-group span {
font-size: 14px;
color: #666666;
}

/* Styling for input fields */
.input-group input[type="text"] {
padding: 8px 12px;
border: 1px solid #cccccc;
border-radius: 4px;
font-size: 14px;
color: #333333;
margin-top: 5px;
width: 100%;
box-sizing: border-box;
}

/* Placeholder styling */
.input-group input[type="text"]::placeholder {
color: #999999;
}

/* Error message styling */
.error-message {
font-size: 12px;
color: #d9534f;
margin-top: 5px;
}

/* Styling for the spans with monetary values */
.input-group span[id*="defaultParticipantAmt0"],
.input-group span[id*="participantPayAmount0"] {
font-weight: 600;
color: #333333;
}


.info-icon {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.info-icon img {
    vertical-align: middle;
}

.info-icon .info-text {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px;
    background: #333;
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 10;
}

.info-icon:hover .info-text {
    display: block;
}

#errorparticipantPayment0 {
    color: red;
    font-size: 12px;
}

.recharge-container {
    background-color: #fefefe;
    margin: auto;
    border: 1px solid #888;
    width: 60%;
    margin-left: 20%;
    padding: 1%;
    margin-top: 5%;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    height: 90%;
}



.bliveheader {
    display: flex;
    justify-content: space-between;
    background-color: rgb(66, 133, 244);
    color: white;
    padding: 8px;
    border-radius: 4px;
    align-items: center;
}

.header-left {
    font-size: 1.4em;
}

.history-button {
    background: transparent;
    border: 1px solid white;
    color: white;
    border-radius: 100px;
    padding: 5px 12px;
}

.content {
    padding: 1%;
}

.balance-info {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin-bottom: 10px;
}

.balance-label {
    color: red;
    font-weight: bold;
    padding-bottom: 5px;
}

.balance-value {
    color: black;
    font-weight: bold;
    padding-left: 5px;
}

.hint-container {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.hint-icon {
    position: relative;
    display: inline-block;
    margin-left: 5px;
}

.hint-text {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 5px;
    border-radius: 4px;
    white-space: nowrap;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hint-icon:hover .hint-text {
    display: block;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}

.form-group input {
    font-size: 14px;
    color: black;
    border: 1px solid lightgray;
    border-radius: 4px;
    width: 100%;
    padding: 5px 8px;
    height: 32px;
}

.charges-info {
    font-size: 12px;
    margin-top: 10px;
}

.charges-label {
    display: block;
}

.charges-value {
    font-weight: bold;
}

.payment-summary {
    margin-top: 10px;
}

.summary-card {
    background: #fff;
    border: 1px solid lightgray;
    border-radius: 4px;
    padding: 12px;
    text-align: center;
    margin-bottom: 10px;
}

.summary-title {
    font-size: 1.4rem;
    color: black;
}

.summary-amount {
    font-size: 1.4rem;
    font-weight: bold;
}

.gst-info {
    font-size: 12px;
    text-align: center;
    padding: 4px 0;
}

.pay-button {
    background: #4285f4;
    color: white;
    border-radius: 100px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    display: block;
    margin: 0 auto;
}

.refund-policy {
    background-color: #fff;
    border-radius: 3px;
    padding: 10px;
    margin-top: 10px;
}

.policy-title {
    font-size: 14px;
    color: rgb(66, 133, 244);
    font-weight: bold;
    margin-bottom: 10px;
}

.policy-list {
    font-size: 10px;
    padding-left: 0;
    margin: 0;
}

.policy-list li {
    margin-bottom: 5px;
}



@media (max-width: 768px) {
    .post-settings-nav-bar {
        width: 100%;
        margin-right: 10%;
        height: 100%;
    }
}

@media (max-width: 480px) {
    .post-settings-nav-bar {
        width: 100%;
        margin-right: 0;
        margin-top: 0;
        height: 100%;
    }

    .recharge-container {
        background-color: #fefefe;
        margin: auto;
        border: 1px solid #888;
        width: 98%;
        margin-left: 1%;
        padding: 1%;
        margin-top: 15%;
        border-radius: 12px;
        position: relative;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        height: 90%;
    }
}

/* Add a media query for mobile view */
@media (max-width: 768px) {
    .modal-postContainer {
        width: 90%; 
        margin-top: 70px;
        height: 85%;
    }

    .headingWrite {
        font-size: 18px !important; 
    }

    .headingSaveButton, .headingCloseButton {
        width: 70px; 
        font-size: 12px; 
    }

   
}


@media (min-width: 770px) and (max-width: 1024px) {
    .modal-postContainer {
        width: 90%;
        height: 50%;
        margin-top: 250px;
    }

    .headingWrite {
        font-size: 20px !important; 
    }

    .headingSaveButton, .headingCloseButton {
        width: 80px; 
        font-size: 14px; 
    }

}
