/* 
Theme Name: Doctor ERP
Theme URI: https://doctorerp.com/
Author: DoctorERP
Description: Simple theme with header, footer, right sidebar, and dropdown menu.
Version: 1.0
*/

/* ===== General Reset ===== */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f4f4f4;
  overflow-x: hidden; /* prevent horizontal scroll */
font-size: 15px;	
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

h1, h2, h3, h4 {
  color: darkslategray;
}


/* ===== Header ===== */
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: center; /* center logo & toggle horizontally */
  align-items: center;
  position: relative;
  gap: 40px;
}

.site-logo {
  max-width: 200px;
  flex-shrink: 0;
}

.site-logo img, div {
    max-width: 100%;
    height: auto;
    display: block;
}




/* ===== Sidebar Styling ===== */
.site-content {
  display: flex;
  gap: 20px;
  margin: 20px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.content-area {
  flex: 3;
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

.widget-area {
  flex: 1;
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  min-width: 250px;
}

.widget {
  margin-bottom: 20px;
}

.widget-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #eee;
  color: #333;
}

.widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget ul li {
  border-bottom: 1px solid #f0f0f0;
  padding: 8px 0;
}

.widget ul li:last-child {
  border-bottom: none;
}

.widget ul li a {
  text-decoration: none;
  color: #555;
  transition: color 0.3s ease, padding-left 0.3s ease;
  display: block;
}

.widget ul li a:hover {
  color: #0c90e5;
  padding-left: 5px;
}

/* ===== Post Listing Styling ===== */
article.post {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 30px;
  padding: 25px 30px;
  transition: box-shadow 0.3s ease;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

article.post:hover {
  box-shadow: 0 6px 15px rgba(0,0,0,.3);
}

.entry-header h2.entry-title {
  font-size: 1.6rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.entry-header h2.entry-title a {
  color: #0c90e5;
  text-decoration: none;
  transition: color 0.3s ease;
}

.entry-header h2.entry-title a:hover {
  color: #0c90e5;
  text-decoration: underline;
}

.entry-summary p {
  line-height: 1.6;
  font-size: 1rem;
  color: #555;
}

.entry-summary p a {
  color: #0c90e5;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.entry-summary p a:hover {
  color: #0c90e5;
  text-decoration: underline;
}

/* ===== Pagination Styling ===== */
.pagination {
  text-align: center;
  margin: 40px 0;
}

.pagination .page-numbers {
  display: inline-block;
  margin: 0 6px;
  padding: 8px 14px;
  border: 1px solid #ddd;
  border-radius: 5px;
  color: #0c90e5;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.pagination .page-numbers.current {
  background-color: #0c90e5;
  color: #fff;
  border-color: #0c90e5;
  cursor: default;
}

.pagination .page-numbers:hover:not(.current) {
  background-color: #e6f2ff;
}

/* ===== Responsive Styles ===== */







@media (max-width: 768px) {
 
  /* New responsive layout for content and sidebar */
  .content-area,
  .sidebar-area {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 auto !important;
    padding: 0 15px;
    box-sizing: border-box;
  }

  /* Stack sidebar below content */
  .content-sidebar-wrapper {
    display: flex;
    flex-direction: column;
  }

  /* Make images responsive */
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  
  
  
  .site-content {
    flex-direction: column;
    padding: 0px;
  }
  .content-area,
  .sidebar {
    width: 100% !important;
    margin: 0;
    padding: 10;
  }

  /* Center post thumbnail and make it responsive */
  .post-thumbnail img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  /* Adjust entry title padding & alignment for small screens */
  .entry-header .entry-title {
    font-size: 1.8em;
    padding: 0 10px;
  }

  .entry-content {
    padding: 0 10px;
  }

  /* Optional: add some margin below post thumbnail */
  .post-thumbnail {
    margin-bottom: 15px;
  }  
  
 
  
}


.form-input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 16px;
}

.form-textarea {
  width: 100%;
  min-height: 120px;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 16px;
  resize: vertical;
}

.form-submit {
  background-color: #0c90e5;
  color: #fff;
  padding: 10px 25px;
  border: none;
  border-radius: 4px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-submit:hover {
  background-color: #005177;
}

.recaptcha {
  display: block;
  margin: 10px 0;
}



/* ===== Footer ===== */
.site-footer {
  text-align: center;
  padding: 20px 0;
  background-color: darkslategray;
  color: #fff;
}


a {
  color: #1e73be;               /* nice blue tone */
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  font-weight: 600;
}

a:hover {
  color: #0c90e5;               /* darker blue on hover */
  text-decoration: underline;
}

/* Style for inline code */
code {
    background-color: #f5f5f5;  /* Light gray background */
    color: #c7254e;             /* Text color */
    font-family: "Courier New", Courier, monospace; /* Monospace font */
    font-size: 0.95em;          /* Slightly smaller text */
    padding: 2px 4px;           /* Small padding */
    border-radius: 4px;         /* Rounded corners */
}

/* Style for code blocks */
pre code {
    display: block;
    background-color: #2d2d2d;  /* Dark background for blocks */
    color: #f8f8f2;             /* Light text color */
    padding: 15px;
    overflow-x: auto;           /* Horizontal scroll if code is long */
    border-radius: 6px;
    font-size: 0.9em;
    line-height: 1.5em;
}

/* Optional: Add a border for inline code */
code.inline-code {
    border: 1px solid #ddd;
}



/* =======================
   WooCommerce Checkout Page
======================= */

/* Container & layout */
.woocommerce-checkout form.checkout {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Headings */
.woocommerce-checkout h3 {
    font-size: 22px;
    font-weight: 700;
    color: #0c90e5;
    margin-bottom: 20px;
}

/* Form labels */
.woocommerce-checkout label {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

/* Input fields */
.woocommerce-checkout input.input-text,
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus {
    border-color: #0c90e5;
    box-shadow: 0 0 6px rgba(0,115,170,0.3);
    outline: none;
}

/* Place order button */
.woocommerce-checkout .button,
.woocommerce-checkout #place_order {
    background: #0c90e5;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 14px 25px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.woocommerce-checkout .button:hover,
.woocommerce-checkout #place_order:hover {
    background: #005f8d;
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(0,0,0,0.2);
}

/* Checkbox & terms */
.woocommerce-checkout .woocommerce-form__label-for-checkbox {
    font-size: 14px;
    color: #555;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 20px;
}

/* Order review box */
.woocommerce-checkout #order_review {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.03);
    margin-bottom: 30px;
}

/* Payment methods */
.woocommerce-checkout .wc_payment_methods {
    margin-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .woocommerce-checkout form.checkout {
        padding: 20px;
    }

    .woocommerce-checkout .button,
    .woocommerce-checkout #place_order {
        width: 100%;
        font-size: 16px;
        padding: 12px 20px;
    }
}

/* =======================
   WooCommerce Add to Cart Button & Quantity Box
======================= */

/* Add to Cart Button */
.woocommerce div.product .single_add_to_cart_button {
    background: #0c90e5;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 14px 30px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.woocommerce div.product .single_add_to_cart_button:hover {
    background: #005f8d;
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(0,0,0,0.2);
}

.woocommerce div.product .single_add_to_cart_button:active {
    transform: translateY(1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Quantity Input Box */
.woocommerce div.product .quantity input.qty {
    width: 70px;
    padding: 8px 12px;
    font-size: 16px;
    border: 2px solid #0c90e5;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.woocommerce div.product .quantity input.qty:focus {
    border-color: #005f8d;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.5);
    outline: none;
}

/* Quantity buttons (plus/minus) */
.woocommerce div.product .quantity .plus,
.woocommerce div.product .quantity .minus {
    background: #0c90e5;
    color: #fff;
    border: none;
    padding: 6px 12px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.woocommerce div.product .quantity .plus:hover,
.woocommerce div.product .quantity .minus:hover {
    background: #005f8d;
}



/* Parent container - only for My Account page */
.woocommerce-account .woocommerce {
    display: flex;           /* Enables flex layout */
    flex-wrap: wrap;         /* Wrap on smaller screens */
    gap: 20px;               /* Space between nav and content */
    max-width: 1000px;       /* Optional: limit total width */
    margin: 0 auto;          /* Center container */
}

/* Navigation box */
.woocommerce-account .woocommerce-MyAccount-navigation {
    flex: 0 0 250px;          /* Fixed width */
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Content box */
.woocommerce-account .woocommerce-MyAccount-content {
    flex: 1;                  /* Take remaining space */
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 25px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        flex-direction: column; /* Stack vertically on mobile */
    }

    .woocommerce-account .woocommerce-MyAccount-navigation,
    .woocommerce-account .woocommerce-MyAccount-content {
        flex: 1 1 100%;
    }
}

.footer-links a {
  color: #fff; /* change color as needed */
  text-decoration: none;
	font-weight:normal;
  margin: 0 5px;
font-size: 15px;	
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Global Table Styles for WordPress */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

table th,
table td {
  border: 1px solid #ddd;
  padding: 12px 15px;
  text-align: center;
}

table th {
  background-color: #0c90e5; /* WordPress primary color */
  color: #ffffff;
  font-weight: 600;
}

table tr:nth-child(even) {
  background-color: #f9f9f9;
}

table tr:hover {
  background-color: #f1f1f1;
}

table td {
  vertical-align: middle;
}

table td a {
  color: #0c90e5;
  text-decoration: none;
}

table td a:hover {
  text-decoration: underline;
}

/* Responsive tables on mobile */
@media screen and (max-width: 768px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }
  
  table tr {
    margin-bottom: 15px;
  }
  
  table td {
    text-align: right;
    padding-left: 50%;
    position: relative;
  }
  
  table td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    width: 45%;
    text-align: left;
    font-weight: bold;
  }
  
  table th {
    display: none;
  }
}


/*new look */
/* ---------------------------
   Shared / Base Styles
   ---------------------------*/

/* Reset list styles */
.pms-form ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Form wrapper (card style) */
.pms-form,
#pms_login.pms-form {
  max-width: 900px;
  margin: 40px auto;
  padding: 25px 30px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  box-sizing: border-box;
}

/* Narrower login & reset forms */
#pms_login.pms-form {
  max-width: 420px;
}
.reset-password-form.pms-form {
  max-width: 420px;
}

/* Section wrapper */
.pms-account-section-wrapper {
  margin-bottom: 20px;
}

/* Field wrappers */
.pms-form li {
  margin-bottom: 16px;
  padding-right: 20px;
  max-width: 420px;
  box-sizing: border-box;
}

/* Labels */
.pms-form label,
#pms_login label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

/* Inputs */
.pms-form input[type="text"],
.pms-form input[type="email"],
.pms-form input[type="password"],
#pms_login input[type="text"],
#pms_login input[type="password"],
.reset-password-form input[type="text"],
.reset-password-form input[type="password"],
.reset-password-form input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.22s ease;
  background: #fafafa;
  box-sizing: border-box;
}

.pms-form input:focus,
#pms_login input:focus,
.reset-password-form input:focus {
  outline: none;
  border-color: #0c90e5;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(12, 144, 229, 0.15);
}

/* ---------------------------
   Buttons (Register, Login, Reset Password)
   ---------------------------*/
input[type="submit"][name="wp-submit"],
input[type="submit"][name="pms_register"],
.pms-form-submit,input[type="submit"][name="pms_edit_profile"],input[type="submit"][name="pms_new_subscription"],input[type="submit"][name="pms_change_subscription"],input[type="submit"][name="pms_redirect_back"],input[type="submit"][name="pms_confirm_abandon_subscription"],input[type="submit"][name="pms_confirm_retry_payment_subscription"], 
#pms_login .login-submit input[type="submit"] {
  width: 100%;
  max-width: 420px;
  background: #0c90e5;
  color: #fff;
  border: none;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.24s ease, transform 0.12s ease;
  display: inline-block;
  box-sizing: border-box;
	margin-top:20px;
}

input[type="submit"][name="wp-submit"]:hover,
input[type="submit"][name="pms_register"]:hover,
.pms-form-submit:hover,
#pms_login .login-submit input[type="submit"]:hover {
  background: #3a7bc4;
  transform: translateY(-1px);
}

input[type="submit"][name="wp-submit"]:active,
input[type="submit"][name="pms_register"]:active,
.pms-form-submit:active,
#pms_login .login-submit input[type="submit"]:active {
  transform: translateY(1px);
}

/* ---------------------------
   Login Specific
   ---------------------------*/

/* Remember me */
#pms_login .login-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #555;
  margin-bottom: 6px;
}
#pms_login .login-remember input[type="checkbox"] {
  accent-color: #0c90e5;
  transform: scale(1.06);
  margin: 0;
  width: 18px;
  height: 18px;
}

/* Extra links */
#pms_login .login-extra {
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  color: #666;
}
#pms_login .login-extra a {
  color: #0c90e5;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.16s ease;
}
#pms_login .login-extra a:hover {
  color: #2e5d99;
}
#pms_login .login-extra .separator {
  margin: 0 8px;
  color: #999;
}

/* ---------------------------
   Subscription Plan Box
   ---------------------------*/
.pms-subscription-plan {
  margin-top: 20px;
  padding: 14px 18px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background: #f9fafc;
  font-size: 14px;
  color: #444;
  max-width: 420px;
  box-sizing: border-box;
}
.pms-subscription-plan-name {
  font-weight: 700;
  color: #222;
}
.pms-subscription-plan-price {
  font-weight: 600;
  color: #0c90e5;
}

/* ---------------------------
   Responsive
   ---------------------------*/
@media (max-width: 480px) {
  .pms-form,
  #pms_login.pms-form,
  .reset-password-form.pms-form {
    padding: 18px;
    margin: 20px;
    border-radius: 12px;
    max-width: 100%;
  }
  .pms-form li {
    padding-right: 0;
    max-width: 100%;
  }
  .pms-form-submit,
  #pms_login .login-submit input[type="submit"],
  input[type="submit"][name="wp-submit"] {
    max-width: 100%;
  }
  .pms-subscription-plan {
    max-width: 100%;
    padding: 12px;
  }
}

/* ---------------------------
   Accessibility
   ---------------------------*/
:focus-visible {
  outline: 3px solid rgba(12,144,229,0.18);
  outline-offset: 2px;
}

/* ---------------------------
   Account Navigation
   ---------------------------*/
.pms-account-navigation {
  max-width: 900px;
  margin: 30px auto 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: auto;
}

.pms-account-navigation ul {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pms-account-navigation li {
  flex: 1;
  text-align: center;
  border-right: 1px solid #f0f0f0;
background-color: lightgray;	
}

.pms-account-navigation li:last-child {
  border-right: none;
}

.pms-account-navigation a {
  display: block;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
  border-radius: 12px 12px 0 0;
}

.pms-account-navigation a:hover {
  background: #f5faff;
  color: #0c90e5;
}

/* Active tab */
.pms-account-navigation a.pms-account-navigation-link--active,
.pms-account-navigation a[aria-current="page"] {
  background: #0c90e5;
  color: #fff;
  font-weight: 700;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,0.08);
}

/* Responsive */
@media (max-width: 600px) {
  .pms-account-navigation ul {
    flex-direction: column;
  }
  .pms-account-navigation li {
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
  }
  .pms-account-navigation li:last-child {
    border-bottom: none;
  }
  .pms-account-navigation a {
    border-radius: 0;
    text-align: left;
    padding: 12px 16px;
  }
}

/* Form Wrapper */
.row {
  margin: 0 auto;
  max-width: 800px;
  padding: 20px;
}

/* Form Group Spacing */
.form-group {
  margin-bottom: 20px;
}

/* Input Fields */
.form-control,
textarea,
select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 15px;
  color: #333;
  transition: all 0.3s ease;
  background-color: #fff;
  box-sizing: border-box;
}

.form-control:focus,
textarea:focus,
select:focus {
  border-color: #0066cc;
  box-shadow: 0 0 5px rgba(0, 102, 204, 0.3);
  outline: none;
}

/* Textarea */
textarea {
  resize: vertical;
}


/* Dropdown */
select {
  cursor: pointer;
  background-color: #fff;
}

/* Button */
.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #0066cc;
  border: none;
  color: #fff;
}

.btn-primary:hover {
  background-color: #004d99;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}




/* Responsive */
@media (max-width: 768px) {
  .row {
    padding: 15px;
  }

  .btn {
    width: 100%;
  }
}



