/**
Theme Name: Astra Child Theme
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child-theme
Template: astra
*/

/* ==========================================================
   WOOCOMMERCE LOGIN / REGISTRIERUNG – form-login.php
   Passend zu den as-field / as-form-card Klassen des Kontaktformulars
   ========================================================== */

/* ── Hero-Bereich oben, 1:1 aus der Startseite übernommen (.as-hero) ── */
.as-hero{
  padding: 60px 24px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.as-hero::before{
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 450px;
  background: radial-gradient(ellipse, rgba(0,200,150,.07), transparent 70%);
  pointer-events: none;
}
.as-hero-tag{
  display: inline-block;
  background: rgba(0,200,150,.12);
  border: 1px solid rgba(0,200,150,.25);
  border-radius: 20px;
  padding: 5px 15px;
  font-size: .74rem;
  font-weight: 700;
  color: #00c896;
  letter-spacing: .4px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.as-hero h1{
  font-size: clamp(2rem, 5.5vw, 2.9rem);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.12;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  color: #f0f2f8;
}
.as-hero h1 span{
  color: #00c896;
}
.as-hero p{
  font-size: .96rem;
  color: #6b7090;
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}
@media(min-width:768px){.as-hero p{max-width:560px;font-size:1.02rem}}

/* ── Zwei-Spalten-Layout (Login | Registrierung) ── */
.as-account-columns{
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ── Karte um jedes der beiden Formulare ── */
.as-form-card{
  flex: 1 1 320px;
  background: #16181f;
  border: 1px solid #2c2f3a;
  border-radius: 14px;
  padding: 28px 24px;
}

/* Falls Registrierung deaktiviert ist, steht das Login-Formular allein
   (kein .as-account-columns Wrapper) – dann zentriert und mit eigener Karte */
form.woocommerce-form-login:not(.as-account-columns form){
  max-width: 420px;
  margin: 0 auto;
}

.as-form-title{
  color: #f0f2f8;
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 0 4px;
}

.as-form-sub{
  color: #6b7090;
  font-size: .82rem;
  margin-bottom: 20px;
}

/* ── Felder ── */
.as-field{
  margin-bottom: 14px;
}

.as-field label{
  display: block;
  font-size: .72rem;
  font-weight: 700;
  color: #c8ccdc;
  margin-bottom: 6px;
}

.as-field .required{
  color: #ff4d6d;
}

.as-field input.input-text{
  width: 100%;
  background: #1e2029;
  border: 1px solid #2c2f3a;
  border-radius: 8px;
  padding: 11px 13px;
  color: #f0f2f8;
  font-size: .85rem;
  font-family: inherit;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  box-sizing: border-box;
}

.as-field input.input-text:focus{
  border-color: #00c896;
  box-shadow: 0 0 0 3px rgba(0,200,150,.1);
}

/* ── "Angemeldet bleiben" + Login-Button Zeile ── */
.as-login-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 14px;
}

.as-remember-label{
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: #6b7090;
  cursor: pointer;
}

/* ── Button: identisch zum as-submit-btn des Kontaktformulars ── */
button.as-submit-btn,
.woocommerce button.as-submit-btn,
.woocommerce-form-login__submit.as-submit-btn,
.woocommerce-form-register__submit.as-submit-btn{
  background: #00c896 !important;
  color: #003d28 !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 9px 18px !important;
  font-size: .82rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  transition: background .15s !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  text-shadow: none !important;
  width: auto !important;
}

button.as-submit-btn:hover,
.woocommerce button.as-submit-btn:hover,
.woocommerce-form-login__submit.as-submit-btn:hover,
.woocommerce-form-register__submit.as-submit-btn:hover{
  background: #00dfa8 !important;
  color: #003d28 !important;
}

/* In der Login-Zeile soll der Button nicht die volle Breite einnehmen,
   bei der Registrierung darf er das gerne (eigene Zeile, kein Nachbar) */
.as-field-row > .as-submit-btn{
  margin-top: 4px;
}

/* ── Passwort-vergessen-Link ── */
.as-lost-password{
  margin-top: 4px;
}
.as-lost-password a{
  color: #00c896;
  font-size: .78rem;
  text-decoration: none;
}
.as-lost-password a:hover{
  color: #00a87d;
  text-decoration: underline;
}

/* ── Hinweistext bei automatisch generiertem Passwort ── */
.as-form-note{
  color: #6b7090;
  font-size: .8rem;
  line-height: 1.5;
  margin-bottom: 14px;
}

/* ── WooCommerce-Fehlermeldungen (falsches Passwort etc.) ── */
.woocommerce-error{
  background: #1e2029;
  border: none;
  border-left: 4px solid #ff4d6d;
  color: #f0f2f8;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: .82rem;
  max-width: 920px;
  margin: 0 auto 16px;
  list-style: none;
}
.woocommerce-error li{
  margin: 0;
}

/* ── Datenschutz-Hinweistext bei der Registrierung (woocommerce_register_form Hook) ── */
.woocommerce-privacy-policy-text{
  font-size: .74rem;
  color: #6b7090;
  line-height: 1.6;
  margin: 4px 0 14px;
}
.woocommerce-privacy-policy-text a,
.woocommerce-privacy-policy-link{
  color: #00c896;
  text-decoration: none;
}
.woocommerce-privacy-policy-text a:hover,
.woocommerce-privacy-policy-link:hover{
  color: #00a87d;
  text-decoration: underline;
}

/* ── Mobile: Spalten untereinander statt nebeneinander ── */
@media (max-width: 700px){
  .as-account-columns{
    flex-direction: column;
  }
}

/* ==========================================================
   WOOCOMMERCE MEIN-KONTO DASHBOARD – dashboard.php
   Nutzt die gleichen as-hero-tag/title/sub Klassen wie die Login-Seite
   ========================================================== */

.as-dashboard-hero{
  text-align: left;
  max-width: 700px;
  margin: 0 0 24px;
  padding: 0;
}

.as-dashboard-title-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.as-dashboard-hero .as-hero-title{
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  margin-bottom: 0;
}

.as-dashboard-hero .as-hero-sub{
  margin-top: 8px;
}

.as-logout-btn{
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,77,109,.1);
  border: 1px solid rgba(255,77,109,.3);
  color: #ff4d6d;
  font-size: .76rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 20px;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}

.as-logout-btn:hover{
  background: rgba(255,77,109,.18);
  border-color: #ff4d6d;
  color: #ff4d6d;
  text-decoration: none;
}

.as-dashboard-card{
  background: #16181f;
  border: 1px solid #2c2f3a;
  border-radius: 14px;
  padding: 22px 24px;
  max-width: 700px;
  margin: 0 0 20px;
}

.as-dashboard-desc{
  color: #6b7090;
  font-size: .85rem;
  line-height: 1.7;
  margin: 0;
}

.as-dashboard-desc a{
  color: #00c896;
  text-decoration: none;
  font-weight: 600;
}
.as-dashboard-desc a:hover{
  color: #00a87d;
  text-decoration: underline;
}

/* ==========================================================
   WOOCOMMERCE MEIN-KONTO NAVIGATION (links: Dashboard, Bestellungen,
   Adressen, Konto-Details, Abmelden) – reines CSS, keine Datei-Änderung
   ========================================================== */
 
.woocommerce-MyAccount-navigation{
  max-width: 700px;
  margin: 0 0 20px;
}
 
.woocommerce-MyAccount-navigation ul{
  list-style: none;
  margin: 0;
  padding: 6px;
  background: #16181f;
  border: 1px solid #2c2f3a;
  border-radius: 14px;
}
 
.woocommerce-MyAccount-navigation li{
  border-bottom: 1px solid #2c2f3a;
}
.woocommerce-MyAccount-navigation li:last-child{
  border-bottom: none;
}
 
.woocommerce-MyAccount-navigation li a{
  display: block;
  padding: 11px 14px;
  color: #f0f2f8;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
 
.woocommerce-MyAccount-navigation li a:hover{
  background: #1e2029;
  color: #00c896;
}
 
/* Aktiver Menüpunkt (die Seite, auf der man sich gerade befindet) */
.woocommerce-MyAccount-navigation li.is-active a{
  color: #00c896;
  font-weight: 800;
  background: rgba(0,200,150,.08);
}
 
/* Abmelden-Link etwas zurückhaltender als die übrigen Punkte */
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a{
  color: #6b7090;
}
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a:hover{
  color: #ff4d6d;
  background: rgba(255,77,109,.08);
}
 
/* Mobile: etwas kompakter */
@media (max-width: 600px){
  .woocommerce-MyAccount-navigation li a{
    padding: 10px 12px;
    font-size: .82rem;
  }
}
 