.febella-restricted-section {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px;
  width: 100%;
}

body.single-product:not(.logged-in) .woocommerce-product-gallery,
body.single-product:not(.logged-in) .product_title,
body.single-product:not(.logged-in) .woocommerce-product-rating,
body.single-product:not(.logged-in) .price,
body.single-product:not(.logged-in)
  .woocommerce-product-details__short-description,
body.single-product:not(.logged-in) .cart,
body.single-product:not(.logged-in) .product_meta,
body.single-product:not(.logged-in) .woocommerce-tabs,
body.single-product:not(.logged-in) .related.products,
body.single-product:not(.logged-in) .up-sells,
body.single-product:not(.logged-in) section.products,
body.single-product:not(.logged-in)
  .summary.entry-summary
  > *:not(.febella-restricted-section) {
  display: none !important;
}

.febella-restricted-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #dee2e6;
}

.febella-restricted-header h2 {
  margin: 0 0 15px;
  color: #333;
  font-size: 24px;
}

.febella-restricted-header p {
  margin: 0;
  color: #666;
  font-size: 16px;
  line-height: 1.6;
}

.febella-auth-container {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
}

.febella-login-link {
  text-align: center;
  margin-bottom: 25px;
}

.febella-login-link .button {
  display: inline-block;
  padding: 12px 30px;
  background: #333;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  transition: background 0.3s;
}

.febella-login-link .button:hover {
  background: #555;
  color: #fff;
}

.febella-divider {
  text-align: center;
  margin: 25px 0;
  position: relative;
}

.febella-divider::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: #dee2e6;
}

.febella-divider span {
  background: #fff;
  padding: 0 15px;
  position: relative;
  color: #999;
  font-size: 14px;
}

.febella-restricted-notice {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  margin: 20px 0;
}

.febella-restricted-notice h3 {
  margin: 0 0 15px;
  color: #333;
}

.febella-restricted-notice p {
  margin: 0 0 20px;
  color: #666;
}

.febella-registration-form {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.febella-registration-form h3 {
  margin: 0 0 25px;
  text-align: center;
}

.febella-registration-form .form-row {
  margin-bottom: 20px;
}

.febella-registration-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.febella-registration-form input[type="text"],
.febella-registration-form input[type="email"],
.febella-registration-form input[type="password"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 14px;
}

.febella-registration-form input[type="text"]:focus,
.febella-registration-form input[type="email"]:focus,
.febella-registration-form input[type="password"]:focus {
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.febella-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.febella-consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: normal;
  cursor: pointer;
}

.febella-consent input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
}

.febella-registration-form .required {
  color: #dc3545;
}

.febella-registration-form button[type="submit"] {
  width: 100%;
  padding: 12px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.febella-registration-form button[type="submit"]:hover {
  background: #555;
}

.febella-registration-form button[type="submit"]:disabled {
  background: #999;
  cursor: not-allowed;
}

.febella-form-messages {
  margin-top: 15px;
  padding: 0;
}

.febella-form-messages .success {
  background: #d4edda;
  color: #155724;
  padding: 15px;
  border-radius: 4px;
  border: 1px solid #c3e6cb;
}

.febella-form-messages .error {
  background: #f8d7da;
  color: #721c24;
  padding: 15px;
  border-radius: 4px;
  border: 1px solid #f5c6cb;
}

.febella-delete-account {
  max-width: 500px;
}

.febella-delete-account h3 {
  margin: 0 0 15px;
  color: #dc3545;
}

.febella-delete-account > p {
  color: #856404;
  background: #fff3cd;
  padding: 15px;
  border-radius: 4px;
  border: 1px solid #ffeeba;
  margin-bottom: 25px;
}

.febella-delete-account .form-row {
  margin-bottom: 20px;
}

.febella-delete-account label {
  display: block;
  margin-bottom: 5px;
}

.febella-delete-account input[type="password"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ced4da;
  border-radius: 4px;
}

.febella-delete-button {
  background: #dc3545 !important;
  color: #fff !important;
  border: none !important;
  padding: 12px 25px !important;
  cursor: pointer;
  transition: background 0.3s;
}

.febella-delete-button:hover {
  background: #c82333 !important;
}

.woocommerce-message.febella-verification-success {
  border-top-color: #28a745;
}

.woocommerce-error.febella-verification-error {
  border-top-color: #dc3545;
}

.febella-delete-account-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #dee2e6;
}

.febella-delete-account-section h3 {
  margin: 0 0 15px;
  color: #dc3545;
}

.febella-delete-account-section > p {
  color: #856404;
  background: #fff3cd;
  padding: 15px;
  border-radius: 4px;
  border: 1px solid #ffeeba;
  margin-bottom: 20px;
}

.febella-delete-account-section .febella-delete-button {
  display: inline-block;
  text-decoration: none;
}

body .woocommerce form.login {
  background: #fff;
}

.active-login .febella-login-link {
  order: 10;
}

.active-login .febella-toggle-link {
  order: -1;
}

.febella-toggle-link {
  text-align: center;
  margin-top: unset !important;
  margin-bottom: 25px;
}

.febella-login-header {
  display: none;
}

.febella-create-header {
  display: block;
}
.active-login .febella-login-header {
  display: block;
}
.active-login .febella-create-header {
  display: none;
}

.woocommerce-MyAccount-content p:last-child {
  display: none;
}
.febella-user-icon svg{
  width: 20px;
  height: 20px;
}
