/****************************
***** LOGIN PAGE STYLE *****
****************************/

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background: #fff;
}

.hw-myaccount-login-container {
  display: grid;
  grid-template-columns: 35% 65%;
   padding-top: 65px;
  /* height: 100vh; */
}

.hw-login-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-left: 5vw;
  box-sizing: border-box;
}

.hw-register-left {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  max-width: 320px;
  flex-direction: column;
  left: 5rem;
  position: absolute;
  top: 10rem;
}

.hw-form-inner {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 20px 0;
  box-sizing: border-box;
}

/* Input Fields */
.hw-myaccount-login-container .woocommerce-form .form-row {
  width: 100%;
  margin-bottom: 20px;
}

.hw-myaccount-login-container .woocommerce-Input.input-text{
  width: 100%;
  border: none;
  border-bottom: 1px solid #ccc;
  background: transparent;
  padding: 10px 0;
  font-size: 15px;
  color: #333;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.hw-myaccount-login-container .woocommerce-Input.input-text:focus {
  border-bottom-color: #facc15;
  outline: none;
}

/* Submit Button */
.hw-myaccount-login-container .woocommerce-button.button {
  width: 55%;
  background-color: #facc15;
  color: #000;
  font-weight: 600;
  font-size: 16px;
  padding: 12px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.3s ease;
}

.hw-myaccount-login-container .woocommerce-button.button:hover {
  background-color: #e6b800;
}

/* Forgot Password */
.hw-form-inner .woocommerce-LostPassword {
  display: block;
  font-size: 14px;
  margin-top: -10px;
  margin-bottom: 20px;
  text-align: right;
  text-decoration: underline;
}

.hw-form-inner .woocommerce-LostPassword a{
  color: rgba(29, 29, 43, 1);
}


/* Toggle Message */
.toggle-text {
  margin-top: 20px;
  font-size: 14px;
  color: rgba(128, 129, 133, 1);
}

.toggle-text a {
  color: rgba(29, 29, 43, 1);
  text-decoration: underline;
  cursor: pointer;
}

.form-section.hidden {
  display: none;
}

.login-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Default (large screens, desktops) */

/* Large tablets / small desktops (≤1200px) */
@media (max-width: 1200px) {
  .hw-myaccount-login-container {
    padding-top: 75px;
  }
}

/* Tablets (≤992px) */
@media (max-width: 1024px) {
  .hw-myaccount-login-container {
    padding-top: 0px;
  }
}

/* Small tablets / large phones (≤768px) */
@media (max-width: 768px) {
  .hw-myaccount-login-container {
    padding-top: 70px;
  }
}

/* Mobile (≤576px) */
@media (max-width: 576px) {
  .hw-myaccount-login-container {
    padding-top: 40px;
  }
}

/* Extra small devices (≤400px) */
@media (max-width: 400px) {
  .hw-myaccount-login-container {
    padding-top: 30px;
  }
}

@media (max-width: 992px) {
  .hw-myaccount-login-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .hw-login-left {
    padding: 40px 20px;
    align-items: center;
  }

  .hw-form-inner {
    max-width: 100%;
    align-items: center;
  }

  .woocommerce-button.button {
    width: 100%;
  }

  .login-right {
    order: -1;
  }

  .login-right img {
    height: 60vh;
    object-fit: cover;
  }

  .hw-register-left {
    position: static;
    width: 100%;
    max-width: 100%;
    margin-top: 20px;
  }

  .toggle-text {
    text-align: center;
  }
}

/****************************
  ***** LOGIN PAGE END *****
****************************/

/****************************
***** FORGOT PASSWORD *****
****************************/

.hw-lost-password-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 20px;
  background-color: #fff;
  box-sizing: border-box;
}

.hw-lost-password-inner {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hw-auth-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  text-align: left;
  width: 100%;
}

.hw-lost-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
}

.hw-underline-input {
  width: 100%;
  min-width: 380px;
  border: none;
  border-bottom: 1px solid #ccc;
  background: transparent;
  padding: 10px 0;
  font-size: 15px;
  color: #333;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.hw-underline-input:focus {
  border-bottom-color: #facc15;
  outline: none;
}

.hw-submit-btn {
  width: 100%;
  background-color: #facc15;
  color: #000;
  font-weight: 600;
  font-size: 16px;
  padding: 12px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.hw-submit-btn:hover {
  background-color: #e6b800;
}

/*******************************
***** FORGOT PASSWORD END *****
*******************************/

/*******************************
******* DASHBOARD START *******
*******************************/


.hw-dashboard-wrapper {
  display: flex;
  min-height: 100vh;
  background: #f3f4f8;
  font-family: 'Inter', sans-serif;
  margin: 3rem 0 0;
}

/* Sidebar */
.hw-dashboard-sidebar {
  width: 250px;
  background: rgba(29, 29, 43, 1);
  color: #fff;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: sticky;
  top: 0;
  height: auto;
  margin: 3rem;
}


/* Profile */
.hw-user-box {
  text-align: center;
  margin-bottom: 26px;
  background: rgba(52, 52, 64, 1);
  padding-top: 2rem;
  width: 100%;
  border-radius: 8px;
}

.hw-user-avatar {
  width: 80px;
  height: 80px !important;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.hw-user-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
  font-family: Montserrat;
  color: rgba(255, 255, 255, 1);
}

.hw-user-email {
  font-size: 11px;
  color: rgba(255, 255, 255, 1);
  font-family: Montserrat;
}

/* Navigation */
.hw-dashboard-nav {
  list-style: none;
  padding: 0;
  width: 75%;
  display: flex;
  flex-direction: column;
  margin-bottom: 5rem;
}

.hw-dashboard-nav li a {
  display: flex;
  align-items: center;
  gap: 8px; /* space between icon and label */
  text-decoration: none;
  color: #fff;
  padding: 12px 8px;
  border-radius: 8px;
  font-weight: 500;
  font-family: Montserrat;
  font-size: P2;
  line-height: 100%;
  letter-spacing: 0%;
}

.hw-dashboard-nav li a i {
  font-size: 14px;
  color: #ccc;
}


.hw-dashboard-nav li a::before {
  margin-right: 8px;
  display: inline-block;
  transform: translateY(-1px);
  font-size: 12px;
  color: #fff;
  opacity: 0.7;
}

.hw-dashboard-nav li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.hw-dashboard-nav li a.active {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Right Side */
.hw-dashboard-panel {
     flex: 1;
    display: flex;
    flex-direction: column;
    margin: 2rem 2rem 3rem 0;
    box-sizing: border-box;
}

.hw-dashboard-heading {
  padding: 50px 0px 15px;
}

.hw-dashboard-heading h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #1e1f2c;
}

.hw-page-heading{
  font-family: Montserrat;
}

.hw-dashboard-content {
  padding: 0;
  margin: 0;
  flex: 1;
  height: 100%;
  display: flex;
  padding-top: 1rem;
  flex-direction: column;
}


/* Logout confirm */
.hw-logout-confirm {
  text-align: center;
}

.hw-logout-confirm .hw-btn {
  display: inline-block;
  margin: 10px;
  padding: 10px 20px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
}

.hw-logout-confirm .confirm {
  background-color: #f87171;
  color: #fff;
}

.hw-logout-confirm .cancel {
  background-color: #e5e7eb;
  color: #111827;
}

/*******************************
******** DASHBOARD END ********
*******************************/

/*******************************
******** LICENSE START ********
*******************************/

.hw-license-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.hw-license-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 1);
  padding: 20px 24px;
  border-radius: 8px;
  gap: 20px;
  width: 100%;
}

.hw-license-left img.hw-license-thumb {
  width: 60px;
  height: auto;
  border-radius: 4px;
}

.hw-license-center {
  flex: 1;
  padding: 0 3rem;
}

.hw-license-title {
  margin: 0;
  font-weight: 600;
  color: rgba(29, 29, 43, 1);
  font-family: Montserrat;
  font-weight: 500;
  font-size: 15px;
  line-height: 30px;
}

.hw-license-key {
  font-size: 12px;
  font-weight: 400;
  margin: 4px 0;
  color: rgba(29, 29, 43, 1);
  font-family: Montserrat;
}

.hw-license-invoice {
  font-size: 14px;
  font-family: Montserrat;
  color: rgba(29, 29, 43, 1);
  text-decoration: underline;
}

.hw-license-meta {
  text-align: left;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 200px;
}

.hw-license-meta p {
  margin: 4px 0;
  line-height: 1.4;
  font-family: 'Montserrat';
}

.hw-license-status {
  width: 100%;
  text-align: center;
  padding: 8px 0;
  border-radius: 6px;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 14px;
  border-radius: 999px;
}

.hw-license-grace-highlight {
  background: #fff8e0;
  border-left: 5px solid #f7b500;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.hw-license-alert-below {
  background-color: #fff4cc;
  padding: 10px 14px;
  border: 1px solid #f2c66c;
  border-radius: 4px;
  font-size: 14px;
  color: #6a4c00;
  margin-top: 12px;
  max-width: 100%;
  font-family: 'Montserrat';
}

.hw-status-active {
  background-color: rgba(28, 165, 33, 0.1);
  color: rgba(28, 165, 33, 1);
  font-family: 'Montserrat';
}

.hw-status-expired {
  background: rgba(233, 132, 50, 0.1);
  color: rgba(233, 132, 50, 1);
  font-family: 'Montserrat';

}
.hw-status-warning {
    background: rgba(255, 204, 0, 0.1); /* Soft warm yellow background */
    color: rgba(204, 102, 0, 1);        /* Rich amber tone for text */
    font-family: 'Montserrat';
}


/* Center the empty state inside .hw-dashboard-content */
.hw-license-empty-panel {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 1);
  border-radius: 8px;
}


/* Inner content stays neat and centered */
.hw-license-empty-inner {
  text-align: center;
  width: 100%;
  padding: 20px;
  margin: auto;
}


.hw-license-empty-img {
  max-width: 200px;
  margin-bottom: 20px;
}

.hw-license-empty-text {
  font-family: Montserrat;
  font-weight: 400;
  line-height: 100%;
  text-align: center;
  color: rgba(52, 52, 64, 1);
}

.hw-license-empty-links{
  font-family: Montserrat;
  font-weight: 400;
  line-height: 30px;
  text-align: center;
  color: rgba(52, 52, 64, 1);
}

.hw-license-empty-links a {
  font-family: Montserrat;
  font-weight: 400;
  line-height: 30px;
  text-align: center;
  text-decoration: underline;
  text-decoration-style: solid;
  text-decoration-thickness: 0%;
  color: rgba(29, 29, 43, 1);
}

/*******************************
******** LICENSE END ********
*******************************/

/*******************************
******** PROFILE START ********
*******************************/

/* === WRAPPER === */

.hw-profile-form-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

.hw-edit-account-form{
  width: 100%;
}

.hw-profile-form-box {
  width: 100%;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

/* === SECTION HEADINGS === */
.hw-profile-section-title {
  font-size: 18px;
  font-weight: 400;
  color: #1f1f1f;
  margin: 0 0 10px;
  font-family: Montserrat;
}

/* === AVATAR === */
.hw-profile-avatar-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hw-profile-avatar {
  width: 72px;
  height: 72px !important;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.hw-avatar-buttons {
  display: flex;
  gap: 10px;
}

.hw-avatar-cn-btn {
  font-size: 14px;
  background: white;
  color: rgba(29, 29, 43, 1);
  border: 1px solid rgba(29, 29, 43, 1);
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: Montserrat;
}

.hw-avatar-rm-btn{
  font-size: 14px;
  color: rgba(29, 29, 43, 1);
  padding: 8px 14px;
  font-family: Montserrat;
  border: 0px;
  background: white;
}

.hw-avatar-btn:hover {
  background: #e5e7eb;
}

/* === FORM FIELDS === */
.hw-profile-form-wrapper.woocommerce-form-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.hw-profile-form-wrapper .woocommerce-form-row label {
  font-size: 14px;
  font-family: Montserrat;
  color: rgba(52, 52, 64, 1);
  font-weight: 400;
}

.hw-line-input {
  border: none;
  border-bottom: 1px solid rgba(128, 129, 133, 1);
  font-family: Montserrat;
  background: transparent;
  padding: 8px 0;
  font-size: 15px;
  color: #1f1f1f;
  transition: border-color 0.3s ease;
}

.hw-line-input:focus {
  border-color: #facc15;
  outline: none;
}

.hw-underline {
  border-bottom: 1px solid rgba(128, 129, 133, 1);
  width: 100%;
  margin-top: -1px;
}

.hw-form-group label {
  display: block;
  font-weight: 400;
  margin-bottom: 0.5rem;
   color: rgba(29, 29, 43, 1);
  font-family: Montserrat;
}

.hw-password-action {
  margin-top: 0.5rem;
}

/* === PASSWORD BUTTON === */
.hw-password-btn {
  padding: 0.6rem 1.2rem;
  background-color: white;
  font-family: Montserrat;
  color: rgba(29, 29, 43, 1);
  border: 1px solid rgba(29, 29, 43, 1);
  border-radius: 4px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  animation-timing-function: ease-out;
  animation-duration: 200ms;
}

.hw-password-fieldset {
  border: none;
  background: rgba(239, 239, 245, 1);
  border-radius: 6px;
}

.hw-password-fieldset legend {
  font-size: 15px;
  margin-bottom: 10px;
  font-weight: 500;
  font-family: Montserrat;
  border-bottom: 1px solid rgba(52, 52, 64, 1);
  background: rgba(52, 52, 64, 1);
  color: white;
  padding: 10px 12px;
  border-radius: 6px 6px 0 0;
}

.hw-password-fieldset .woocommerce-form-row{
  margin-left: 1rem;
  margin-right: 1rem;
}


.hw-password-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-right: 1rem;
}

.hw-password-footer .button {
  min-width: 150px;
  font-family: Montserrat;
  color: rgba(29, 29, 43, 1);
}

.hw-password-save {
  background: rgba(254, 209, 91, 1);
  border: none;
  padding: 8px;
  border-radius: 6px;
}

.hw-password-cancel {
  background: rgba(239, 239, 245, 1);
  border: 1px solid rgba(29, 29, 43, 1);
  padding: 8px;
  border-radius: 6px;
}


/* === SUBMIT BUTTON === */
.hw-save-button-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 2.5rem;
}

.hw-profile-form-wrapper .woocommerce-Button.button {
  background-color: #facc15;
  color: rgba(29, 29, 43, 1);
  font-family: Montserrat;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

/*******************************
Billing details
*/


.custom-billing-address-list {
  padding: 1.5rem;
  background: #fff;
  border-radius: 12px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.billing-address-entry {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    font-family: 'Montserrat';
}

.billing-address-info p {
  margin: 0.2rem 0;
  color: #4f4f63;
}

.billing-address-info .address-name {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.billing-address-actions {
  margin-left: 1rem;
}

.billing-address-actions .edit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
  border-radius: 6px;
  background-color: #f3f3f3;
  transition: background-color 0.2s;
}

.billing-address-actions .edit-icon:hover {
  background-color: #e0e0e0;
}

.billing-address-actions .icon-pencil {
  fill: #444;
}

.add-address-btn {
  margin-top: 1rem;
}

.add-address-btn .button {
    background: transparent;
    border: 1px solid #222;
    border: 1px solid rgba(29, 29, 43, 1);
    padding: 0.6rem 1.2rem;
    font-weight: 500;
    color: #222;
    text-decoration: none;
    transition: background-color 0.2s;
}

.add-address-btn .button:hover {
  background-color: #f0f0f0;
}

.hw-form-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #333;
}

.hw-form-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.hw-form-field {
  width: 100% !important;
  display: flex;
  flex-direction: column;
}

.hw-label {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.hw-input {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
}

.hw-input:focus {
  border-color: #f7b500;
  outline: none;
}

.hw-btn-primary {
  background-color: #f7b500;
  color: #000;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}


/* Font */
.hw-address-form-wrapper,
.hw-address-form-wrapper * {
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
}

/* Wrapper */
.hw-address-form-wrapper {
    background-color: #F7F8FC;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    margin: auto;
}

/* Header */
.hw-form-header {
    background-color: #2E2E38;
    color: white;
    padding: 20px 30px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.hw-form-header .hw-form-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: rgba(255, 255, 255, 1);
}

/* Form Container */
.woocommerce-address-fields {
    padding: 30px;
}

/* Grid Layout */
.woocommerce-address-fields__field-wrapper.hw-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
    row-gap: 20px;
}

/* Force full width fields (e.g., email, address) */
.woocommerce-address-fields__field-wrapper.hw-form-grid .form-row-wide {
    grid-column: span 2;
}

/* Input + Select underline only */
.hw-form-field input,
.hw-form-field select,
.hw-form-field textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid rgba(128, 129, 133, 1) !important;
    background-color: transparent;
    padding: 6px 0;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    border-radius: 0 !important;
}

/* Focus style */
.hw-form-field input:focus,
.hw-form-field select:focus,
.hw-form-field textarea:focus {
    border-color: #000000 !important;
}

/* Label styling */
.hw-form-field label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
    color: #333;
}

/* Button container */
.hw-billing-detail-section {
    display: flex;
    justify-content: flex-end;
}

/* Cancel button */
.hw-btn-secondary {
    background-color: white;
    color: black;
    border: 1px solid rgba(29, 29, 43, 1);
    padding: 10px 20px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    width: 20%;
    margin-right: 1rem;
}

/* Add Address button */
.hw-btn-primary {
    background-color: #FFC940;
    color: black;
    padding: 10px 20px;
    font-weight: 500;
    font-size: 16px;
    border: none;
    border-radius: 0px;
    border: 1px solid rgba(29, 29, 43, 1);
    cursor: pointer;
}

/* Responsive fix */
@media (max-width: 768px) {
    .woocommerce-address-fields__field-wrapper.hw-form-grid {
        grid-template-columns: 1fr;
    }

    .woocommerce-address-fields__field-wrapper.hw-form-grid .form-row-wide {
        grid-column: span 1;
    }

    .hw-address-form .form-row:last-child {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .hw-address-form .form-row:last-child button {
        width: 100%;
        text-align: center;
    }
}

.select2-container--default .select2-selection--single {
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    padding: 8px 0;
    background: transparent;
    font-size: 14px;
    color: #333;
    height: auto;
}

.select2-selection__rendered {
    color: #333;
    padding-left: 0;
}

.select2-selection__arrow {
    top: 60% !important;
    transform: translateY(-50%);
}

/*Log out popup */

.hw-logout-popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.hw-logout-popup-overlay.hidden {
  display: none;
}

.hw-logout-popup {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  max-width: 350px;
  width: 100%;
}

.hw-logout-icon {
  background: #e5ecf5;
  color: #445;
  border-radius: 50%;
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

/* Center the buttons inside the popup */
.hw-logout-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center; /* ✅ ensures they are centered */
  gap: 0.5rem;
}

.hw-btn-logout {
  background: white;
  border: 1px solid rgba(29, 29, 43, 1);
  padding: 0.6rem 1.6rem;
  border-radius: 5px;
  cursor: pointer;
  color:black;
}

.hw-btn-cancel {
  background: rgba(254, 209, 91, 1);
  border: 1px solid rgba(29, 29, 43, 1);
  padding: 0.6rem 1.6rem;
  border-radius: 5px;
  cursor: pointer;
  color: black;
}

/* New styles for the text */
.hw-logout-text h5 {
  font-weight: 700; /* bold heading */
  font-size: 22px;
}

.hw-logout-text p {
  font-size: 12px; /* smaller paragraph */
  font-weight: 500;
}


.hw-dashboard-screen {
  display: none;
}

.hw-dashboard-screen.active {
  display: block;
}

@media (min-width: 769px) {
  .hw-dashboard-screen {
    display: block !important;
  }

  .back-btn {
    display: none;
  }
}

@media (max-width: 768px) {
  .hw-dashboard-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  .hw-dashboard-screen {
    width: 100%;
    min-height: 100vh;
    overflow-y: auto;
    padding: 1rem;
    box-sizing: border-box;
  }

  .hw-dashboard-sidebar-screen,
  .hw-dashboard-content-screen {
    display: none;
  }

  .hw-dashboard-screen.active {
    display: block;
  }

  .back-btn {
    display: block;
    margin-bottom: 1rem;
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    color: #0073aa;
  }
  .hw-password-footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
  }

  .hw-password-footer .button {
    flex: 1;
    padding: 12px;
    font-size: 16px;
    border-radius: 6px;
    min-width: 0; /* Prevent overflow */
  }

  .hw-password-footer .hw-password-cancel {
    border: 1px solid #ccc;
  }

  .hw-password-footer .hw-password-save {
    border: none;
  }

  .hw-save-button-wrapper {
    margin-top: 24px;
  }

  .hw-save-button-wrapper .button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
  }
  
  .hw-billing-detail-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
  }
  
  .hw-billing-detail-section .hw-btn-primary,
  .hw-billing-detail-section .hw-btn-secondary {
      flex: 1;
      padding: 12px;
      font-size: 16px;
      border-radius: 6px;
      min-width: 0;
      white-space: normal;        /* Allow wrapping */
      word-break: break-word;     /* Break long words if needed */
      text-align: center;
      line-height: 1.4;
    }
    
    .hw-license-entry {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
  margin-bottom: 16px;
}

.hw-license-left,
.hw-license-center,
.hw-license-meta {
  width: 100%;
}

.hw-license-thumb {
  width: 100%;
  max-width: 120px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.hw-license-title {
  font-size: 18px;
  margin-bottom: 8px;
  text-align: center;
}

.hw-license-key,
.hw-license-invoice,
.hw-license-status {
  font-size: 14px;
  text-align: center;
}

.hw-license-status {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 12px;
  background-color: #e0f7e9;
  color: #2e7d32;
  font-weight: bold;
  margin-top: 8px;
}

.hw-license-empty-panel {
  text-align: center;
  padding: 32px 16px;
}

.hw-license-empty-img {
  width: 120px;
  margin-bottom: 16px;
}

.hw-license-empty-text {
  font-size: 18px;
  margin-bottom: 12px;
}

.hw-license-empty-links a {
  color: #0071a1;
  text-decoration: underline;
  margin: 0 4px;
}


}

