/*
Theme Name: Astrostar Child
Template: astrostar
Version: 1.0
*/


/* Profile Page start */
/* Container for profile page */
.custom-profile-container {
    max-width: 700px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Profile form wrapper */
.profile-form-wrapper .wppb-user-forms {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Style form labels and inputs */
.profile-form-wrapper .wppb-user-forms label {
    font-weight: 600;
    margin-bottom: 6px;
    color: #333333;
}

.profile-form-wrapper .wppb-user-forms input,
.profile-form-wrapper .wppb-user-forms select,
.profile-form-wrapper .wppb-user-forms textarea {
    padding: 10px 12px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.profile-form-wrapper .wppb-user-forms input:focus,
.profile-form-wrapper .wppb-user-forms select:focus,
.profile-form-wrapper .wppb-user-forms textarea:focus {
    border-color: #0073aa; /* WordPress blue */
    outline: none;
}

/* Submit button styling */
.profile-form-wrapper .wppb-user-forms input[type="submit"] {
    background: #0073aa;
    color: #fff;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.profile-form-wrapper .wppb-user-forms input[type="submit"]:hover {
    background: #005177;
}

/* Login info box */
.login-info-wrapper {
    margin-top: 25px;
    padding: 15px 20px;
    background: #f9f9f9;
    border-left: 4px solid #0073aa;
    border-radius: 6px;
    font-size: 15px;
    color: #333333;
    text-align: center;
}

.pms-login p.login-extra a.register {
  display: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .custom-profile-container {
        padding: 20px;
        margin: 20px;
    }
}

/* Profile page end */

.container {
	width: auto !important;
	padding: 0 !important;
}

/*
 * Regsiter page start 
 */
 
.register-wrapper {
  display: flex;
  min-height: 100vh;
  background-color: #f8fafc;
}

.register-left, .register-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.register-left {
  background: linear-gradient(to bottom right, #1e3a8a, #3b82f6);
  color: white;
}

.register-left img {
  max-width: 90%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.register-right {
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: -4px 0 15px rgba(0,0,0,0.05);
}

.register-form-box {
  width: 100%;
  max-width: 420px;
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 25px rgba(0,0,0,0.1);
}

.register-form-box h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #1e3a8a;
}

.register-logo {
  text-align: center;
  margin-bottom: 15px;
}

.register-logo img {
  width: 80px;
  height: auto;
  border-radius: 8px;
}

.register-form-box input,
.register-form-box select,
.register-form-box textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  margin-bottom: 15px;
  transition: border-color 0.2s ease;
}

.register-form-box input:focus,
.register-form-box select:focus,
.register-form-box textarea:focus {
  border-color: #3b82f6;
  outline: none;
}

.register-form-box input[type="submit"] {
  background-color: #1e3a8a;
  color: #fff;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.register-form-box input[type="submit"]:hover {
  background-color: #3b82f6;
}
/*
 * Regsiter page end 
 */

/* Mobile view */
@media (max-width: 768px) {
  .register-wrapper {
    flex-direction: column;
  }
  .register-left, .register-right {
    flex: unset;
    width: 100%;
    padding: 20px;
  }
  .register-left img {
    width: 100%;
  }
}


/* Register and Login Page */

.login-wrapper {
  display: flex;
  min-height: 100vh;
}

/* Left side with gallery */
.login-left {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  background-color: #f4f6f8;
}

.image-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 80%;
}

.image-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Right side with logo + login */
.login-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  background: #ffffff;
  box-shadow: -4px 0 15px rgba(0,0,0,0.05);
  border-radius: 12px 0 0 12px;
}

.login-box {
  width: 100%;
  max-width: 400px;
  padding: 30px;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fafafa;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
}

.login-logo img {
  max-width: 150px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.login-form form {
  text-align: left;
}

.login-box h2 {
  margin-bottom: 20px;
  font-size: 24px;
  text-align: center;
}


/* Responsive (mobile: stack top/bottom) */
@media (max-width: 768px) {
   .login-left	{
		display: none !important;
	}
  .login-wrapper {
    flex-direction: column;
  }
  .login-left, .login-right {
    flex: unset;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
  }
  .image-grid {
    grid-template-columns: 1fr 1fr;
  }
  .image-grid img {
    height: 150px;
  }
}



/* Beautify PMS Login Form */

/* --- PMS Login and Register Form Styling --- */

.pms-form {
  max-width: 400px;
  margin: 4rem auto;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.pms-form p,
.pms-form li {
  margin-bottom: 1.2rem;
  list-style: none;
}

.pms-form label {
  display: block;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 0.5rem;
}

.pms-form input[type="text"],
.pms-form input[type="email"],
.pms-form input[type="password"] {
  width: 100%;
  padding: 10px 16px; /* Increased right/left padding from 14px to 16px */
  border: 1px solid #cbd5e0;
  border-radius: 4px;
  background: #f7fafc;
  font-size: 15px;
  box-sizing: border-box; /* Ensures padding doesn't overflow */
}


.pms-form input[type="text"]:focus,
.pms-form input[type="email"]:focus,
.pms-form input[type="password"]:focus {
  border-color: #4299e1;
  outline: none;
  background-color: #ffffff;
}

.pms-form .login-remember {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #4a5568;
}

.pms-form .login-remember input {
  margin-right: 0.5rem;
}

.pms-form input[type="submit"],
.pms-form .button-primary {
  width: 100%;
  background-color: #2b6cb0;
  color: #fff;
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.pms-form input[type="submit"]:hover,
.pms-form .button-primary:hover {
  background-color: #2c5282;
}

/* For the register form's field wrapper */
.pms-form .pms-form-fields-wrapper {
  padding: 0;
  margin: 0;
}

/* Fixes spacing in the account section wrapper */
.pms-form .pms-account-section-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Optional: Center loading message */
#pms-submit-button-loading-placeholder-text {
  display: block;
  text-align: center;
  font-style: italic;
  color: #555;
  margin-bottom: 1rem;
}


/* Register and Login Page */

.ast-container, .wpdevart-main-container {
  background-image: url('https://searchcitations.in/wp-content/uploads/2025/06/bg-img-1.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 1px !important; /* Optional: give breathing room */
  border-radius: 6px; /* Optional: round edges */
}

.judgement-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.judgement-content a {
  text-decoration: none;
  color: #0073aa;
  font-weight: 500;
  font-size: 16px;
}

.judgement-content a:hover {
  text-decoration: underline;
}

.edit-post-link {
  color: #0073aa;
  font-size: 18px;
  text-decoration: none;
}

.edit-post-link:hover {
  color: #005177;
}

.judgement-item {
  list-style: none;
  margin-bottom: 1.5em;
  padding: 1em;
  background: #f9f9f9;
  border-left: 4px solid #0073aa;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  border-radius: 6px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  transition: background 0.3s ease;
}

.judgement-item:hover {
  background: #f0f8ff;
}

.judgement-item a {
  display: block;
  font-size: 1.1em;
  font-weight: bold;
  color: #0073aa;
  text-decoration: none;
  margin-bottom: 0.4em;
}

.citation-item a:hover {
  text-decoration: underline;
  color: #005f8d;
}

.citation-details {
  font-size: 0.95em;
  color: #333;
  background: #f1f1f1;
  padding: 0.75em;
  border-radius: 4px;
  line-height: 1.6;
}

.citation-details strong {
  color: #555;
  margin-right: 4px;
}

/* Container setup */
.fancy-tooltip .tooltip-trigger {
  position: relative;
  cursor: help;
  border-bottom: 1px dotted #0073aa; /* subtle underline */
}

/* Tooltip text (hidden by default) */
.fancy-tooltip .tooltip-text {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 125%; /* position above the text */
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 8px 12px;
  border-radius: 6px;
  white-space: normal;
  width: max-content;
  max-width: 250px;
  z-index: 999;
  transition: opacity 0.3s ease;
  font-size: 0.85em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Tooltip arrow */
.fancy-tooltip .tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%; /* bottom of tooltip */
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

/* Show the tooltip on hover */
.fancy-tooltip .tooltip-trigger:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* single.php page */

.judgement-navigation {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.judgement-navigation .print-button {
  display: inline-block;
  flex-shrink: 1;
  white-space: nowrap;
  padding: 8px 16px;
  background-color: #edf2f7; /* Soft gray-blue */
  color: #2c5282; /* Muted navy */
  border: 1px solid #cbd5e0;
  border-radius: 6px;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
  cursor:pointer;
}

.judgement-navigation .print-button i {
  margin: 0 4px;
}

.judgement-navigation .print-button:hover {
  background-color: #e2e8f0; /* Slightly darker on hover */
  color: #1a365d;
  border-color: #a0aec0;
}

/* Responsive fallback for very small screens */
@media (max-width: 480px) {
  .judgement-navigation {
    flex-direction: column;
    align-items: center;
  }

  .judgement-navigation .print-button {
    width: 100%;
    text-align: center;
    margin: 4px 0;
  }
}



/* --- Judgment Section --- */
.page-banner {
	padding: 0 !important;
}
.judgment_section {
  position: relative;
}

.judgment_section::before {
  content: "\f0e3"; 
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 30px;
  color: #007acc;
  position: absolute;
  top: 12px;
  right: 12px; /* moved to right */
}

.judgment_section {
  background: #f9f9f9;
  padding: 1rem;
  border-left: 5px solid #007acc;
  margin-bottom: 2rem;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  font-family: verdana;
  text-align: justify;
}

.judgment_section h3,
.judgment_section h4 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-weight: 600;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.5rem;
}

.judgment_section table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.judgment_section th,
.judgment_section td {
  border: 1px solid #ccc;
  padding: 10px 14px;
  font-size: 15px;
}

.judgment_section th {
  background-color: #eef3f7;
  color: #333;
}

/* --- Referred Cases Section --- */

.referred_cases_section {
  position: relative;
}

.referred_cases_section::before {
  content: "\f02d"; /* book icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 30px;
  color: #c53030;
  position: absolute;
  top: 12px;
  right: 12px; /* moved to right */
}


.referred_cases_section {
  background-color: #fff5f5;
  border-left: 5px solid #e63946;
  padding: 1rem;
  margin-bottom: 2rem;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(230, 57, 70, 0.1);
	  text-align: justify;
}

.referred_cases_section h4 {
  color: #c53030;
  font-weight: bold;
  margin-bottom: 1rem;
  font-size: 20px;
  border-bottom: 1px dashed #faa;
  padding-bottom: 0.3rem;
}

.referred_cases_section p,
.referred_cases_section li {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

/* --- Notes Section --- */

.title_section, .notes_section {
  position: relative;
}

.notes_section::before {
  content: "\f044"; /* edit/note icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 30px;
  color: #38a169;
  position: absolute;
  top: 12px;
  right: 12px; /* moved to right */
}


.notes_section {
  background-color: #f9f9f9; /* Green tone */
  border-left: 6px solid #38a169;
  padding: 1rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(56, 161, 105, 0.1);
	  text-align: justify;
}

.notes_section h4 {
  color: #2f855a;
  font-weight: bold;
  margin-bottom: 1rem;
  font-size: 20px;
  border-bottom: 1px solid #c6f6d5;
  padding-bottom: 0.4rem;
}

/* .notes_section p,
.notes_section div {
  font-size: 16px;
  white-space: pre-wrap;
} */

/* --- Notes Section --- */

/* table section */

/*  citation table and Acf table start */
.citation-table table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  border: 1px solid #ccc;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 15px;
  background-color: #fff;
  border-radius: 6px;
  overflow: hidden;
  table-layout: auto;
}

.acf-fields-table table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  border: 1px solid #ccc;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 15px;
  background-color: #fff;
  border-radius: 6px;
  overflow: hidden;
  table-layout: auto;
}

.citation-table th,
.citation-table td {
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  vertical-align: top;
  text-align: center;
  white-space: normal;         /* allow wrap */
  word-break: keep-all;        /* don't break words */
}

.acf-fields-table th,
.acf-fields-table td {
  line-height: 2em;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  vertical-align: top;
  text-align: center;
  white-space: normal;         /* allow wrap */
  word-break: keep-all;        /* don't break words */
   word-wrap: break-word;
}

.citation-table th,
.acf-fields-table th {
  background-color: #f0f4f8;
  font-weight: 600;
  color: #2c3e50;
}

.citation-table td,
.acf-fields-table td {
  background-color: #fdfdfd;
  color: #333;
}

/* Optional hover effect */
.citation-table tr:hover td,
.acf-fields-table tr:hover td {
  background-color: #f7fbfc;
}

/* Optional: Zebra striping for better readability */
.citation-table tr:nth-child(even) td,
.acf-fields-table tr:nth-child(even) td {
  background-color: #fbfbfb;
}

/* Responsive fix for mobile */
@media (max-width: 768px) {
  .citation-table table,
  .acf-fields-table table {
    width: 100%;
    display: table;
  }

  .citation-table th,
  .citation-table td,
  .acf-fields-table th,
  .acf-fields-table td {
    display: table-cell;
    width: auto;
    word-break: keep-all;    /* avoid mid-word breaks */
    white-space: normal;     /* allow line breaks at spaces */
    text-align: center;
  }
	
 .judgment_section,
  .referred_cases_section,
	.notes_section,
	.title_section {
		width: 100%;
	}
}
/*  citation table css ends */


.title_section::before {
  content: "\e068"; 
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 30px;
  color: #38a169;
  position: absolute;
  top: 12px;
  right: 12px; /* moved to right */
}

.title_section {
  text-align: center;
  background-color: #fdfdfd;
  padding: 1rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-family: 'Georgia', serif;
}

.title_section .party {
  margin-bottom: 1.5rem;
  font-size: 120%;
  line-height: 1.7;
  color: blue;
  margin-top: 10px !important;
}

.title_section .vs-label {
  font-size: 24px;
  color: #c53030;
  font-weight: bold;
  letter-spacing: 2px;
  padding-top: 10px;
}

/* single.php ends */

/* ✅ Mobile Responsive */
@media (max-width: 600px) {
  .judgement-item {
    padding: 0.8em;
    font-size: 0.95em;
  }

  .judgement-item a {
    font-size: 1em;
  }

/*   .citation-details {
    font-size: 0.9em;
    padding: 0.6em;
  } */
}

@media screen {
    .print-header {
        display: none !important;
    }
}
.report-wrapper {
    display: none;
}

@media print {
	
	@page {
        margin-top: 30mm !important;   /* Space for header */
        margin-bottom: 20mm; /* Space for footer */
        margin-left: 15mm;
        margin-right: 15mm;
    }
	
	.citation_details {
        display: block !important;
        font-family: "Times New Roman", serif;
        margin-top: 10px;
        font-size: 14px;
    }

    .citation_row {
        display: flex;
        justify-content: space-between;
        padding: 6px 0;
        border-bottom: 1px solid #ddd;
    }

    .citation_row:last-child {
        border-bottom: none;
    }

    .citation_label {
        font-weight: bold;
        width: 30%;
    }

    .citation_value {
        width: 65%;
    }
	.report-wrapper {
        display: flex !important;
        align-items: center;
        gap: 20px;
        margin: 20px 0;
    }

    .report-logo {
        width: 70px;
        height: auto;
    }

    .report-text {
        display: flex;
        flex-direction: column;
    }

    .reported-in {
        font-size: 18px;
        color: #a30000;
        font-weight: bold;
    }

    .licensed {
        margin-top: 5px;
        font-size: 16px;
    }
	
  /* Remove background, borders, and shadows */
  .judgment_section,
  .referred_cases_section,
  .notes_section,
  .citation-table table,
/*   .acf-fields-table table, */
  .title_section {
    background: none !important;
    box-shadow: none !important;
    border: none !important;
    color: #000 !important;
	padding: 0 !important;
	margin-bottom: 0 !important;  
  }
  .judgment_section h3,
  .judgment_section h4,
  .referred_cases_section h4,
  .notes_section h4,
  .title_section .vs-label {
/*     color: #000 !important; */
    border: none !important;
  }

  .judgment_section th,
  .judgment_section td,
  .citation-table th,
  .citation-table td,
/*   .acf-fields-table th,
  .acf-fields-table td  */
	{
    background: none !important;
    color: #000 !important;
    border: 1px solid #000 !important;
	line-height: 1em !important;
  }

  /* Remove hover and striping effects */
  .citation-table tr:hover td,
  .acf-fields-table tr:hover td,
  .citation-table tr:nth-child(even) td,
/*   .acf-fields-table tr:nth-child(even) td  */
	{
    background: none !important;
  }

  /* Optional: Hide print button */
  .judgment_section::before,
	.referred_cases_section::before,
	.notes_section::before,
	.title_section::before,
	.print-button {
    display: none !important;
  }
 
   .copyright {
	 margin-top: -60px;
	}
	
	.acf-fields-table table, .citation-table table, .citation_title, .Bench, .Appeal_Type, .Advocate_Names, .referred_cases_section {
		display: none;
	}	

	.acf-fields-table table {
	 font-size: 15px;
	 line-height: 0em !important;
	}
  
	.wpdevart-main-container h3:not(.sidebar-widget-area h3) {
      font-size: 30px !important;
	  font-weight: 500 !important;
    }
	
	.notes_section, .title_section .party {
		margin: 0 !important;
		padding: 0 !important;
	}
	
	.title_section .vs-label {
		font-size: 10px;
		margin: 0 !important;
		padding: 0 !important;
	}
	.party br:first-of-type {
    	display: none !important;
	}
}
