body {
  font-family: georgia, sans-serif;
  margin: 0 auto;
  min-width: 1280px;
}


/* Members Navigation Components - Reuse base nav-link from search_desktop_v20.css */
.members-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* User email styling - simple and focused */
.user-email {
    color: #000;
    font-weight: 500;
    text-decoration: none;
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-nav-link.user-email {
    max-width: 200px;
}

.nav-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-section.user-nav {
    margin-left: auto;
}


#login {
    float: right;
    display: block;
    margin-bottom: 10px;
}

.user_details {
    font-size: 0.8em;
}

#login a{
    text-decoration: none;
    padding: 10px;
}

#login a:hover{
    text-decoration: underline;
}

.garmund {
    font-family: "Palatino Linotype", Palatino, Palladio, "URW Palladio L", "Book Antiqua", Baskerville, "Bookman Old Style", "Bitstream Charter", "Nimbus Roman No9 L", Garamond, "Apple Garamond", "ITC Garamond Narrow", "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", Georgia, serif;
}

.info {
    background-color: #f8f9fa;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Container pattern - DRY principle */
.container-centered {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.info a {
    color: #495057;
    text-decoration: none;
    transition: color 0.2s ease;
}

.info a:hover {
    color: #212529;
    text-decoration: underline;
}
.main-content {
  padding: 2rem 1.5rem;
  box-sizing: border-box;
}

.members-login-page .main-content {
  min-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 4rem 1.5rem 3rem;
}

.members-login-page .auth-page {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.members-login-page .form-container {
  margin: 0 auto;
}

.members-login-page .headline {
  margin: 0;
  text-align: center;
}

.members-password-reset-page .main-content {
  min-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 4rem 1.5rem 3rem;
}

.members-password-reset-page .auth-page {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.members-password-reset-page .form-container {
  margin: 0 auto;
}

.members-password-reset-page .headline {
  margin: 0;
  text-align: center;
}

.members-password-reset-confirm-page .main-content {
  min-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 4rem 1.5rem 3rem;
}

.members-password-reset-confirm-page .auth-page {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.members-password-reset-confirm-page .form-container {
  margin: 0 auto;
}

.members-password-reset-confirm-page .subtitle {
  text-align: center;
  color: #6c757d;
  margin-bottom: 1.5rem;
}

.main-content p {
  margin: 15px 0;
  line-height: 1.6;
}

.main-content ul,
.main-content ol {
  margin: 15px 0;
  padding-left: 30px;
  line-height: 1.6;
}

.main-content li {
  margin: 8px 0;
}

.notifications {
    margin-top: 30px;
    max-width: 100%;
}

.headline {
    margin-bottom: 20px;
    margin-top: 25px;
    padding-top: 10px;
}

.notice{
    margin: 15px 0px;
    padding: 15px 20px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    background-color: #fff;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.new_notice {
    background-color: #EDF4F5;
    border-color: #d1ecf1;
}

.notice-content {
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
    margin-right: 20px;
}

.notice-content a {
    font-weight: bold;
    color: #495057;
    text-decoration: none;
}

.notice-content a:hover {
    text-decoration: underline;
}
ul, ul a {
  color: #818286;
}
th {
    text-align: left;
}
#id_passwd, #id_email, #id_name, #id_rptpasswd, #id_phone, #id_city, #id_country, #id_pincode, #id_state, #id_address, #id_use_case, #id_oldpasswd, #id_newpasswd, #id_rptnewpasswd, #id_uniqname, #id_start_date, #id_end_date, #id_end_ts, #id_expiring_in_days, #id_offerid, #id_email_subject, #id_email_message, #id_gstid, #id_email_rpt, #id_pan, #id_gstin  {
    width: 300px;
    margin-bottom: 5px;
    height: 24px;
}

#id_profession, #id_annual_income {
    width: 303px;
    margin-bottom: 5px;
}
#id_address, #id_billingaddress, #id_email_message {
    height: 80px;
}

/* Heading pattern - DRY principle */
.heading-base {
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.section {
    font-size: 14pt;
    color: #404040;
    font-weight: bold;
}

.profile_head {
    font-size: 1.2em;
    color: grey;
    font-weight: bold;
}

.headline {
    font-size: 1.2em;
    color: #154890;
    padding-top: 10px;
    font-weight: bold;
}

.subsection {
    color: #2F5168;
    font-weight: bold;
    display: inline;
}

.tabs {
    width:100%;
    display:inline-block;
}
 
.tab-links:after {
    display:block;
    clear:both;
    content:'';
}
 
.tab-links li {
    float:left;
    list-style:none;
}

ul.tab-links{
    padding: 0;
    list-style-type: none;
}
.tab-links a {
    padding:9px 15px;
    display:inline-block;
    background:#fff;
    font-size:12px;
    font-weight:600;
    color:#4c4c4c;
    transition:all linear 0.15s;
}
 
.tab-links a:hover {
    background:#a7cce5;
    text-decoration:none;
}
 
li.active a, li.active a:hover {
    color:#4c4c4c;
    background:#7FB5DA;
    text-decoration:none;
}
 
.tab-content {
    background:#fff;
    margin-top: -10px;
}
 
.tab {
    display:none;
}
 
.tab.active {
    display:block;
}


/* Button pattern - DRY principle */
.submit_button,
.small_submit,
.file_button {
   cursor: pointer;
   border: 1px solid #66CCFF;
   border-radius: 10px;
   background-color: #f3f3f3;
   color: #404040;
}

.submit_button,
.file_button {
   padding: 5px 25px;
   font-size: 1.1em;
   margin: 10px 0 0 0;
}

.small_submit {
   padding: 4px;
   font-size: 0.9em;
   margin: 0;
}

.file_button {
   margin: 10px 0;
}

.submit_button:hover,
.submit_button:focus,
.small_submit:hover,
.small_submit:focus {
    background-color: #FFFBD0;
    box-shadow: 0 0 1px rgba(0,0,0, .75);
}

.promo {
    font-size: 1.1em;
    font-style: italic;
    font-weight: bold;
    color: #3D4C53;
    padding-top: 10px;
}
.topic_hdr_rn {
    font-size: 0.9em;
    color: grey;
    display: block;
    float: right;
}
/* Fragment pattern - DRY principle */
.fragment-right,
.add_fragment,
.added_fragment {
    font-size: 0.8em;
    display: block;
    float: right;
    color: #4c4c4c;
}

.topic_title {
    font-size: 1.1em;
    font-weight: bold;
}
.topic_title_small {
    font-size: 1em;
    text-decoration:none;
}

.topic_title_small:hover {
    text-decoration: underline;
}
.topic_header {
    padding: 10px 0px 10px 0px;
}

.topic_members {
    padding: 10px 0px 0px 0px;
}

.topic_doc_cite, .note_ts {
    float:     right;
    font-size: 0.9em;
    color: grey;
    padding: 0px 0px 5px 10px;
}

.querydel {
    font-size: 0.9em;
    color: grey;
    padding: 5px 0px 5px 5px;
    cursor: pointer;
}

.casedel {
    font-size: 0.9em;
    color: grey;
    padding: 5px 0px 5px 0px;
    cursor: pointer;
}

.caseline {
    font-size: 0.9em;
    padding: 10px 0px 0px 0px;
}
.casenum {
    color: #666666;
}

.courtname {
    color: green;
}

.note_ts a {
    text-decoration: None;
    color: grey; 
    margin-right: 5px;
}

.note_ts a:hover {
    text-decoration: underline;
}

.topic_content {
    border: 1px solid #CCCCCC;
    padding: 5px;
    margin-bottom: 10px;
    clear: both;
}
.topic_doc_title {
    text-decoration: none;
}

.topic_doc_title:hover {
    text-decoration: underline;
}

.topic_note {
    margin: 10px 0px 10px 0px; 
}

pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    border: none;
}

.note_doctext {
    font-family: georgia, sans-serif;
    padding: 0px 40px 10px 20px;
    margin-left: 10px;
    color: #404040;
    border-left: 1px solid  #CCCCCC;
    background-color: white;
    line-height: 1.5;
}

.query_fragment {
    font-family: georgia, sans-serif;
    color: #404040;
    font-style:italic;
    text-align: justify;
    margin: 10px 10px 10px 5px; 
}

.doctext {
    padding: 20px;
}

.ui-dialog {
    font-size: 0.9em;
}

.research_topics {
    margin-top: 20px;
    background-color: white;
    font-size: 0.9em;
}

textarea.research_comment {
    width: 95%;
    height: 50%;
    min-height: 100px;
}

.topic_ts {
    font-size: 0.9em;
    color: grey;
}
.profilename {
  font-size: 1.1em;
  color: grey;
  font-weight:bold;
  padding-top: 10px;
}
.topic_hl {
    color: #666666; 
}

.switch-button-label {
    float: left;

    font-size: 10pt;
    cursor: pointer;
}

.switch-button-label.off {
    color: #adadad;
}

.switch-button-label.on {
    color: #0088CC;
}

.switch-button-background {
    float: left;
    position: relative;

    background: #ccc;
    border: 1px solid #aaa;

    margin: 1px 10px;

    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;

    cursor: pointer;
}

.switch-button-button {
    position: absolute;

    left: -1px;
    top : -1px;

    background: #FAFAFA;
    border: 1px solid #aaa;

    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
.switch-wrapper {
    display: inline-block;
}
.topic_col {
    text-align: center;
}

.topic_col2 {
    padding-left: 10px;
}

#research_search {
  border: none;
  background: transparent;
  margin-bottom: 10px;
  border-radius: 0;
  padding: 0;
}
.research_head {
  background-color: #F5EDE3;
  padding: 5px;
  font-size: 1em;
  font-weight: bold;
}
#research_topics thead {
  background-color: #F5EDE3;
  color: #666666;
}
#research_topics table {
  border-spacing: 0px;
  padding-bottom: 5px;
}


.research_topic {
    padding: 5px;
}

.research_topic input[type="radio"] {
    margin-right: 10px;
}

.research_topic a {
    text-decoration: none;
}

.research_topic a:hover {
    text-decoration: underline;
}

#newtopic {
  text-decoration: none;
}
#newtopic:hover {
  text-decoration: underline;
}

.ui-dialog-content input {
    width: 90%;
    padding: 5px;
    margin-top: 5px;
}


input[type="radio"] {
    padding: 5px;
    margin-top: 5px;
}

.ui-dialog-titlebar {
    background: #F5EDE3;
    color: #1c94c4;;
}

.ui-dialog-titlebar-close {
   float: right;
}


.modtopic {
    cursor: pointer;
    text-decoration: none;
    color: #0473B8;
    margin-left: 20px;
    border: none;
    background-color: white;
}

.modtopic:hover {
    text-decoration: underline;
}
.modnote {
    cursor: pointer;
    margin-right: 5px;
    border: none;
    background-color: white;
    color: gray;    
}

.modnote:hover {
    text-decoration: underline;
}

#editor {
  margin: 0 auto;
}

#editor_buttons {
    width: 100%;
}

#editor_buttons td {
    text-align: center;
}
#editor_links td  {
    padding: 0px 0px 10px 0px;
}

#editor_links a  {
    text-decoration: none;
}

#editor_links a:hover  {
    text-decoration: underline;
}

.disabled_editor_button {
    background-color: #CCCCCC;
}

.subinfo {
    color: grey;
    font-size: 0.8em;
}
.topic_subtopic {
}

.topic_subtopic a {
    text-decoration: none;
}

.topic_subtopic a:hover {
    text-decoration: underline;
}

.subtopic td {
    padding: 5px;
}

#website_device {
    color: #6c757d;
    font-size: 0.7rem;
    background-color: transparent;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

#website_device:hover {
    color: #495057;
    background-color: #f8f9fa;
    border-color: #adb5bd;
}

.passwd_forgot {
    float:right; 
    padding-top:10px;
}

/* Table pattern - DRY principle */
.table-centered {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    border-collapse: collapse;
}

.pricing_tbl th,
.pricing_tbl td {
    padding: 10px;
    text-align: left;
}

.pricing_tbl th {
    background-color: #f8f9fa;
    font-weight: bold;
}

.pricing_tbl td:last-child {
    text-align: center;
}

.bank_account_tbl td {
    padding: 8px;
    border-bottom: 1px solid #e9ecef;
}

.bank_account_tbl td:first-child {
    font-weight: 500;
    width: 30%;
    color: #495057;
}


.found {
    margin-bottom: 20px;
}

#uniq_button {
    font-size: 0.9em;
}

.username {
    color: grey;
    text-decoration: none;
}

.username:hover {
    text-decoration: underline;
}

.note_user {
    font-size: 0.9em;
}

.query_user {
    font-size: 0.9em;
    margin: 10px 0px 10px 0px;
}

.fr_button {
    font-size: 0.9em;
    float: right;
    position: relative;
    top: -60px;
}

.fr_notice {
    font-size: 0.9em;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
}

.nextprev {
    margin-top: 30px;
    text-align: center;
}

form ul {
    list-style-type: none;
}

.qtype {
    margin-right: 30px;
    font-size: 1.1em;
}

.qtype a {
    text-decoration: none;
    font-size: 0.9em;
}

.qtype a:hover {
    text-decoration: underline;
}

.note_comment {
    margin-bottom: 5px;
}

.pagenums {
  text-align:  center;
  padding: 10px;
}

.pagenums a {
  text-decoration: None;
}

.pagenums a:hover {
  text-decoration: None;
}

.pagenum {
    font-size:1.1em;
    padding:4px 5px 8px 5px;
    border: 1px solid #CCCCCC;
    margin-left:5px;
    margin-right:5px;
}

.pagenum:hover {
    background-color: #F5F5F5;
}

.topic_hdr_rn a {
    text-decoration: None;
}

.topic_hdr_rn a:hover {
    text-decoration: underline;
}

.topic_privacy td {
    padding: 3px 10px 3px 10px;
}

.topic_privacy {
    background-color: white;
}

#notification_icon {
    font-size: 0.8em;
}

.ppl {
    width: 64px;
    border-radius: 10px;
}

.left_ppl {
    width: 70px;
    display: inline;
    margin-right: 10px;
    float: left;
}
.person {
    float: right;
    height: 100px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.ppl_profile {
    margin-bottom: 30px;
}
.pic_upload {
    clear:right;
    float: right;
    font-size: 0.7em;
}
input[type="file"] {
    margin: 20px 0px 20px 0px;
    display: block;
    font-size: 1.1em;
}

.profile_pic {
    margin: 20px;
    display: block;
}


#imgpreview{
    position:absolute;
    border:1px solid #ccc;
    background:white;
    padding:5px;
    display:none;
    color:black;
}
.note_unmod {
    padding: 10px;
    background-color: white;
    margin-bottom: 10px;
}


.note_author {
    margin: 5px;
    float: right;
    font-size: 0.9em;
    color: grey;
}

.note_author a{
    color: grey;
    text-decoration: none;
}
.note_author a:hover{
    text-decoration: underline;
}

.research_topic_footer {
    padding: 5px;
    width: 100%;
}

.research_topic_footer a {
    text-decoration: none;
}

.research_topic_footer a:hover {
    text-decoration: underline;
}

/* Section divider pattern - DRY principle */
.section-divider {
    padding: 15px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.mmbrhdr {
    margin: 20px 0;
    font-weight: bold;
}

a {
    text-decoration: none;
}

a:hover{
    text-decoration: underline;
}

.qa {
    margin-top: 20px;
    margin-bottom: 20px;
}

.qa:first-of-type {
    margin-top: 10px;
}

.question {
    font-weight: bold;
}

.logout {
    float: right;
}

.small_logo {
    width: 200px;
    height: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
    align-items: center;
}

.nav-links li {
    margin: 0;
    padding: 0;
}

.user-nav {
    font-size: 0.85em;
    margin-top: 0.25rem;
}

.user-nav a {
    color: #6c757d;
}

.user-nav a:hover {
    color: #495057;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.device-form {
    margin: 0;
    display: inline-block;
}

.userhdr {
    font-size: 0.9em;
    color: #6c757d;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    background-color: #e9ecef;
    border-radius: 0.25rem;
}

.profile_relation {
    font-size:0.8em;
    margin-top:5px;
}

.topic_selected {
  background-color: #E6F1F5;
}

.cke_button__save_label, .cke_button__discard_label, .cke_button__pdf_label {
     display : inline !important; /*show the text label*/
}

.cke_button__discard_icon,.cke_button__pdf_icon {
    display: none !important;
}
.research_topic_footer2 {
  padding: 5px;
}

.topic_col3 {
    padding-bottom: 5px;
}
iframe {
    width: 560px;
    height: 315px;
}

.errmsg {
   color: red;
   margin: 10px 0px 10px 0px;
}

.hdrlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.hdrlinks a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--members-radius);
  background-color: var(--members-primary);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid var(--members-primary);
  transition: var(--members-transition);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.hdrlinks a:hover {
  background-color: var(--members-primary-dark);
  border-color: var(--members-primary-dark);
  color: #ffffff;
}

.hdrlinks a:focus-visible {
  outline: 3px solid rgba(21, 72, 144, 0.35);
  outline-offset: 2px;
}

.payment_table {
    width: 100%;
    max-width: 100%;
    font-size:1.1em;
    color:#333333;
    border-width: 1px;
    border-color: #666666;
    border-collapse: collapse;
    margin: 20px 0;
    box-sizing: border-box;
}
.payment_table th {
    border-width: 1px;
    padding: 8px;
    border-style: solid;
    border-color: #666666;
    background-color: #dedede;
}
.payment_table td {
    border-width: 1px;
    padding: 8px;
    border-style: solid;
    border-color: #666666;
    background-color: #ffffff;
}

td.validity, th.validity {
    text-align: center;
}
.topic_docnotes {
    margin: 0 auto;
    width: 400px;
    font-size:0.9em;
}

.topic_docnotes a {
    color: #0473B8;
    text-decoration:none;
}
.topic_docnotes a:hover {
    text-decoration: underline;
}
pre.annotate {
  white-space: pre-wrap;
  word-wrap: break-word;
  font-family: arial;
  width: 95%;
  padding: 0;
}

.faqheadline {
  font-size: 1em;
  color: #818286;
  font-weight:bold;
}

.rechargepromo {
  font-size: 0.9em;
  margin-bottom: 10px;
  font-style:italic;
  font-weight:normal;
  color: #AA0078;
}

.rechargemsg {
  background-color: #E6F1F5;
  padding:   10px;
  font-size: 1.1em;
}

.qmonitor {
    padding: 10px 0px 5px 0px;
    font-size: 0.9em;
}

.qmonitor_text{
    padding-right: 10px;
    padding-bottom: 5px;
    color:#4c4c4c;
}

.relevance_lvl {
    color:#4c4c4c;
}

.inline-form {
    display: inline;
}

.queryshare, .caseshare {
    float: right;
    font-size: 0.8em;
}

.casemonitor {
    float: right;
}

.err{
    color: red;
    margin: 5px 0px 5px 0px;
    font-style: italic;
}

.inptc{
   font-weight: bold;
}

td.price {
    text-align: right;
}

.addgst {
    margin: 80px 0px 20px 0px;
    font-size: 1.1em;
    font-style: italic;
}

.right_button {
    float: right;
    display: block;
}

.document-editor__editable-container {
    padding: calc( 2 * var(--ck-spacing-large) );
}

.document-editor__editable-container .ck-editor__editable {
    padding: 1cm 2cm 2cm;
    max-width: 800px;
}

/* Adjust the headings dropdown to host some larger heading styles. */
.document-editor .ck-heading-dropdown .ck-list .ck-button__label {
    line-height: calc( 1.7 * var(--ck-line-height-base) * var(--ck-font-size-base) );
    min-width: 6em;
}

/* Scale down all heading previews because they are way too big to be presented in the UI.
Preserve the relative scale, though. */
.document-editor .ck-heading-dropdown .ck-list .ck-button:not(.ck-heading_paragraph) .ck-button__label {
    transform: scale(0.8);
    transform-origin: left;
}

/* Set the styles for "Heading 1". */
.document-editor .ck-content h1,
.document-editor .ck-heading-dropdown .ck-heading_heading1 .ck-button__label {
    font-size: 2.18em;
    font-weight: bold;
}

.document-editor .ck-content h1 {
    line-height: 1.37em;
    padding-top: .342em;
    margin-bottom: .142em;
}

/* Set the styles for "Heading 2". */
.document-editor .ck-heading-dropdown .ck-heading_heading2 .ck-button__label {
    font-size: 1.75em;
    font-weight: normal;
    color: hsl( 203, 100%, 50% );
}

.document-editor .ck-heading-dropdown .ck-heading_heading2.ck-on .ck-button__label {
    color: var(--ck-color-list-button-on-text);
}
/* Set the styles for "Heading 2". */
.document-editor .ck-content h2 {
    font-size: 1.75em;
    font-weight: normal;
    line-height: 1.86em;
    padding-top: .171em;
    margin-bottom: .357em;
}

/* Set the styles for "Heading 3". */
.document-editor .ck-content h3,
.document-editor .ck-heading-dropdown .ck-heading_heading3 .ck-button__label {
    font-size: 1.31em;
    font-weight: bold;
}

.document-editor .ck-content h3 {
    line-height: 1.24em;
    padding-top: .286em;
    margin-bottom: .952em;
}

/* Set the styles for "Paragraph". */
.document-editor .ck-content p {
    font-size: 1em;
    line-height: 1.63em;
    padding-top: .5em;
    margin-bottom: 1.13em;
}

/* Make the block quoted text serif with some additional spacing. */
.document-editor .ck-content blockquote {
    font-family: Georgia, serif;
    margin-left: calc( 2 * var(--ck-spacing-large) );
    margin-right: calc( 2 * var(--ck-spacing-large) );
}

.footnotes {
    background: #eee;
    padding: 0px 10px 10px 10px;
}

.db {
  margin: 12px 15px;
  font-size: 0.9em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}
.db > b {
  margin-right: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}
.db #currtopic-button {
  min-width: 180px;
  max-width: 300px;
  flex-shrink: 0;
}
.dbright {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-left: auto;
}
.dbright .ui-button {
  white-space: nowrap;
  font-size: 0.9em;
  padding: 0.4em 0.8em;
}
@media (max-width: 768px) {
  .db {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .db > b {
    margin-bottom: 5px;
  }
  .db #currtopic-button {
    width: 100%;
    max-width: 100%;
  }
  .dbright {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }
}

.notehighlight {
  margin-top:8px;
}

.period {
    font-weight: bold;
}

#sortbyForm{
    float: right;
}
#sortbySelect {
    font-size: 1.1em;   
}
.note_topic {
    font-weight: bold;
    margin-bottom: 5px; 
}

.note_topic_select {
    margin-left: 10px;
    width: 450px;
}

/* Modern Form Styles - Light theme with better accessibility */
.form-container {
  width: 400px;
  max-width: 90%;
  border-radius: 0.75rem;
  background-color: #ffffff;
  padding: 2rem;
  color: #1f2937;
  margin: 2rem auto;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.form-container:has(form .input-group:nth-child(10)) {
  width: 500px;
  max-width: 95%;
}

/* Override global form field width rules for form-container */
.form-container #id_passwd,
.form-container #id_email,
.form-container #id_name,
.form-container #id_rptpasswd,
.form-container #id_phone,
.form-container #id_city,
.form-container #id_country,
.form-container #id_pincode,
.form-container #id_state,
.form-container #id_uniqname,
.form-container #id_email_rpt,
.form-container #id_profession,
.form-container #id_annual_income {
  width: 100% !important;
  margin-bottom: 0 !important;
  height: auto !important;
  box-sizing: border-box;
}

.title {
  text-align: center;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  margin-bottom: 0;
  color: #111827;
}

.form {
  margin-top: 1.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.input-group {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  width: 100%;
}

.input-group label {
  display: block;
  color: #374151;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  border-radius: 0.375rem;
  border: 1px solid #d1d5db;
  outline: 0;
  background-color: #ffffff;
  padding: 0.75rem 1rem;
  color: #1f2937;
  box-sizing: border-box;
  font-family: inherit;
  font-size: inherit;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  display: block;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input-group select {
  cursor: pointer;
}

.input-group .error {
  color: #dc2626;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.forgot {
  display: flex;
  justify-content: flex-end;
  font-size: 0.75rem;
  line-height: 1rem;
  color: #6b7280;
  margin: 0.5rem 0 1rem 0;
}

.forgot a,
.signup a {
  color: #3b82f6;
  text-decoration: none;
  font-size: 0.875rem;
}

.forgot a:hover,
.signup a:hover {
  text-decoration: underline;
}

.sign {
  display: block;
  width: 100%;
  background-color: #8b5cf6;
  padding: 0.75rem;
  text-align: center;
  color: #ffffff;
  border: none;
  border-radius: 0.375rem;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 1rem;
  transition: background-color 0.15s ease-in-out;
  box-sizing: border-box;
}

.sign:hover {
  background-color: #7c3aed;
}

.social-message {
  display: flex;
  align-items: center;
  padding-top: 1rem;
}

.line {
  height: 1px;
  flex: 1 1 0%;
  background-color: #e5e7eb;
}

.social-message .message {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #6b7280;
}

.social-icons {
  display: flex;
  justify-content: center;
}

.social-icons .icon {
  border-radius: 0.125rem;
  padding: 0.75rem;
  border: none;
  background-color: transparent;
  margin-left: 8px;
  cursor: pointer;
}

.social-icons .icon:first-child {
  margin-left: 0;
}

.social-icons .icon svg {
  height: 1.25rem;
  width: 1.25rem;
  fill: #6b7280;
}

.signup {
  text-align: center;
  font-size: 0.875rem;
  line-height: 1rem;
  color: #6b7280;
  margin-top: 1rem;
}

.errmsg {
  color: #dc2626;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background-color: #fef2f2;
  border-radius: 0.375rem;
  border: 1px solid #fecaca;
}

/* Modern Members Page - Shared Variables */
:root {
  --members-primary: #154890;
  --members-primary-dark: #0d3a6b;
  --members-border: #dee2e6;
  --members-bg: #f8f9fa;
  --members-text: #495057;
  --members-text-dark: #212529;
  --members-radius: 0.5rem;
  --members-transition: all 0.2s ease;
  --members-select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23495057' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

/* Container */
.members-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Header */
.premium-home-header {
  margin: 2rem 0 1.5rem;
}

.premium-home-header .headline {
  font-size: 2rem;
  font-weight: 700;
  color: var(--members-primary);
  margin: 0;
  line-height: 1.2;
}

/* Tab Navigation */
.members-tabs {
  margin: 1.5rem 0;
  border-bottom: 2px solid var(--members-border);
}

.tabs-nav {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}

.tab-item {
  padding: 0.75rem 1.5rem;
  color: #6c757d;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: var(--members-transition);
  white-space: nowrap;
}

.tab-item:hover {
  color: var(--members-primary);
  background-color: var(--members-bg);
  border-bottom-color: var(--members-border);
}

.tab-item.active {
  color: var(--members-primary);
  font-weight: 600;
  border-bottom-color: var(--members-primary);
  background-color: transparent;
}

/* Results Header */
.members-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 1rem 0;
}

.results-count {
  font-size: 0.95rem;
  color: var(--members-text);
}

.results-count strong {
  font-weight: 600;
  color: var(--members-text-dark);
}

/* Period Filters */
.periodtop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0;
}

.period-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.period-filter {
  padding: 0.5rem 1rem;
  border: 1px solid var(--members-border);
  border-radius: var(--members-radius);
  background-color: #ffffff;
  color: var(--members-text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--members-transition);
  white-space: nowrap;
}

.period-filter:hover {
  background-color: var(--members-bg);
  border-color: var(--members-primary);
  color: var(--members-primary);
  text-decoration: none;
}

.period-filter.active {
  background-color: var(--members-primary);
  border-color: var(--members-primary);
  color: #ffffff;
  font-weight: 600;
}

.period-filter.active:hover {
  background-color: var(--members-primary-dark);
  border-color: var(--members-primary-dark);
}

/* Sort Form */
.sortby-form {
  margin: 0;
  display: flex;
  align-items: center;
}

.sortby-select {
  padding: 0.5rem 2.5rem 0.5rem 0.75rem;
  border: 1px solid var(--members-border);
  border-radius: var(--members-radius);
  background-color: #ffffff;
  color: var(--members-text);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--members-transition);
  appearance: none;
  background-image: var(--members-select-arrow);
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 12px;
}

.sortby-select:hover {
  border-color: var(--members-primary);
  color: var(--members-primary);
}

.sortby-select:focus {
  outline: none;
  border-color: var(--members-primary);
  box-shadow: 0 0 0 3px rgba(21, 72, 144, 0.1);
}

/* Content */
.members-content {
  margin: 2rem 0;
  min-height: 200px;
}

/* Admin Dashboard */
.admin-dashboard {
  padding: 2rem 0 3rem;
}

.admin-dashboard__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.admin-dashboard__title .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--members-text);
  margin: 0 0 0.25rem 0;
}

.admin-dashboard__title h1 {
  margin: 0;
  font-size: 2rem;
  color: var(--members-primary);
  line-height: 1.2;
}

.admin-dashboard__subtitle {
  margin: 0.75rem 0 0;
  color: var(--members-text);
  font-size: 0.95rem;
  max-width: 640px;
}

.admin-dashboard__actions {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-dashboard__charts {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.admin-chart {
  width: 100%;
  min-height: 320px;
  background-color: #ffffff;
  border: 1px solid var(--members-border);
  border-radius: var(--members-radius);
  padding: 1rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.admin-form {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 0 3rem;
}

.admin-form__title {
  font-size: 1.75rem;
  color: var(--members-primary);
  margin-bottom: 0.5rem;
}

.admin-form__description {
  color: var(--members-text);
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

.admin-form table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.5rem;
}

.admin-form td {
  padding: 0.35rem 0.5rem;
  vertical-align: top;
}

.admin-form .submit_button {
  background-color: var(--members-primary);
  border: none;
  border-radius: var(--members-radius);
  padding: 0.65rem 1.5rem;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: var(--members-transition);
}

.admin-form .submit_button:hover {
  background-color: var(--members-primary-dark);
}

/* Search Form */
#search-form {
  margin: 2rem auto;
  width: 100%;
  max-width: var(--form-max-width, 1200px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.members-search-bar {
  width: 100%;
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}

.members-search-bar #search-box {
  flex: 1;
}

.members-search-bar #submit-button {
  align-self: stretch;
  min-width: 140px;
  padding: 0.75rem 1.75rem;
  border-radius: var(--members-radius);
  background: var(--members-primary);
  border: 1px solid var(--members-primary);
  color: #ffffff;
  font-weight: 600;
  box-shadow: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.members-search-bar #submit-button:hover {
  background: var(--members-primary-dark);
  border-color: var(--members-primary-dark);
}

.members-search-bar #submit-button:focus-visible {
  outline: 3px solid rgba(21, 72, 144, 0.25);
  outline-offset: 2px;
}

.members-search-bar #submit-button:active {
  transform: none;
  background: var(--members-primary-dark);
}

#search-box {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--members-border);
  border-radius: var(--members-radius);
  font-size: 1rem;
  transition: var(--members-transition);
  box-sizing: border-box;
}

#search-box:focus {
  outline: none;
  border-color: var(--members-primary);
  box-shadow: 0 0 0 3px rgba(21, 72, 144, 0.1);
}

.search_options {
  display: flex;
  gap: 0.5rem;
  margin: 0 auto;
  flex-wrap: wrap;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
  border: none;
}

.qselect, .selfselect {
  padding: 0.5rem 2.5rem 0.5rem 0.75rem;
  border: 1px solid var(--members-border);
  border-radius: var(--members-radius);
  background-color: #ffffff;
  color: var(--members-text);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--members-transition);
  appearance: none;
  background-image: var(--members-select-arrow);
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 12px;
}

.qselect:hover, .selfselect:hover {
  border-color: var(--members-primary);
}

.qselect:focus, .selfselect:focus {
  outline: none;
  border-color: var(--members-primary);
  box-shadow: 0 0 0 3px rgba(21, 72, 144, 0.1);
}

#submit-button {
  padding: 0.5rem 1.5rem;
  background-color: var(--members-primary);
  color: #ffffff;
  border: none;
  border-radius: var(--members-radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--members-transition);
  white-space: nowrap;
}

#submit-button:hover {
  background-color: var(--members-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(21, 72, 144, 0.2);
}

#submit-button:active {
  transform: translateY(0);
}

/* Dashboard wrapper - keep spacing but let shared widget define visuals */
.dashboard {
  margin-top: 3rem;
  padding: 0;
  background-color: transparent;
  border: 0;
  border-radius: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .premium-home-header {
    margin: 1.5rem 0 1rem;
  }
  
  .premium-home-header .headline {
    font-size: 1.5rem;
  }
  
  .tabs-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .tab-item {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    flex-shrink: 0;
  }
  
  .members-results-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .periodtop {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  
  .period-filters {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
  }
  
  .period-filter {
    flex-shrink: 0;
  }
  
  .sortby-form,
  .sortby-select,
  .search_options {
    width: 100%;
  }
  
  .qselect, .selfselect, #submit-button {
    flex: 1;
    min-width: 0;
  }
  
  .members-search-bar {
    flex-direction: column;
  }
  
  .members-search-bar #submit-button {
    width: 100%;
  }
  
  #search-box {
    font-size: 16px;
  }
  
  .dashboard {
    padding: 1rem;
    margin-top: 2rem;
  }
}

@media (max-width: 480px) {
  .premium-home-header {
    margin: 1.5rem 0 1rem;
  }

  .premium-home-header .headline {
    font-size: 1.25rem;
  }

  .tab-item {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
  }

  .period-filter {
    padding: 0.4rem 0.75rem;
    font-size: 0.8125rem;
  }

  .members-content {
    margin: 1.5rem 0;
  }
}

/* Refund Payment Styles */
.refund-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.refund-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #e5e7eb;
}

.refund-card h2 {
    margin: 0 0 1.5rem 0;
    color: #1f2937;
    font-weight: 600;
    font-size: 1.5rem;
}

.refund-error {
    background-color: #fee;
    border: 1px solid #fcc;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #c33;
    font-size: 0.9375rem;
}

.refund-form table {
    width: 100%;
    border-collapse: collapse;
}

.refund-form th,
.refund-form td {
    padding: 0.75rem 0.5rem;
    text-align: left;
}

.refund-form th {
    color: #374151;
    font-weight: 500;
    vertical-align: top;
    padding-top: 1rem;
}

.refund-form input[type="text"],
.refund-form input[type="number"],
.refund-form input[type="email"],
.refund-form select,
.refund-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.refund-form input:focus,
.refund-form select:focus,
.refund-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.refund-form .submit_button {
    width: auto;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.3);
}

.refund-form .submit_button:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 6px 12px rgba(59, 130, 246, 0.4);
    transform: translateY(-1px);
}

.refund-form .submit_button:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .refund-container {
        padding: 1rem 0.5rem;
    }

    .refund-card {
        padding: 1.5rem;
    }

    .refund-card h2 {
        font-size: 1.25rem;
    }
}

