/* EEPSS Auth Form Styles (auth-form.css) */

.eepss-auth-container,
.eepss-auth-col {
    box-sizing: border-box;
}

/* Login Banner Message */
.eepss-login-message {
    max-width: 800px;
    margin: 0 auto 30px;
    padding: 24px;
    background: #f0f7ff;
    border-radius: 8px;
    border-top: 5px solid #38a169;
}

.eepss-login-message h2 {
    margin: 0 0 10px;
    color: #1a1a2e;
    font-size: 1.4em;
}

.eepss-login-message p {
    margin: 0 0 16px;
    color: #444;
    line-height: 1.6;
}

.eepss-login-badges {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    color: #3858e9;
    font-weight: 500;
}

/* Auth Columns & Structure */
.eepss-auth-container {
    max-width: 900px;
    margin: 0 auto;
}

.eepss-auth-columns {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.eepss-auth-col {
    flex: 1;
    min-width: 300px;
    padding: 25px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}

.eepss-auth-col h2 {
    margin-top: 0;
    font-size: 1.5em;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

/* Auth Elements */
.eepss-social-box {
    margin: 25px 0;
    padding: 15px 0;
    border-top: 1px dashed #e2e8f0;
    border-bottom: 1px dashed #e2e8f0;
}

.eepss-social-box p {
    margin: 0 0 10px;
    font-weight: 600;
    color: #4a5568;
}

.eepss-privacy-text {
    font-size: 0.85em;
    color: #718096;
    margin-bottom: 20px;
    display: block;
}

.eepss-btn-green {
    background-color: #38a169 !important;
    color: white !important;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color .2s ease;
}

.eepss-btn-green:hover {
    background-color: #2f855a !important;
}

/* Mobile */
@media (max-width: 768px) {
    .eepss-auth-columns {
        flex-direction: column;
        gap: 20px;
    }

    .eepss-login-badges {
        gap: 12px;
    }
}

/* my-account */
.eepss-dashboard-downloads,
.eepss-dashboard-license-manager {
  margin-top: 30px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
}

.eepss-dashboard-downloads h3,
.eepss-dashboard-license-manager h3 {
  margin: 0 0 16px;
}

.eepss-dashboard-download-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.eepss-download-button,
.eepss-license-manager-button {
  display: inline-block;
  min-width: 160px;
  text-align: center;
}

/* Checkout: License Owner and Billing sections */
.woocommerce-checkout .eepss-billing-section-heading {
  clear: both;
  width: 100%;
  margin: 28px 0 18px;
  padding-top: 22px;
  border-top: 1px solid #e2e8f0;
}

.woocommerce-checkout .eepss-license-owner-field.form-row-wide,
.woocommerce-checkout .eepss-billing-section-heading,
.woocommerce-checkout .eepss-billing-same-as-owner {
  float: none;
}

.woocommerce-checkout .eepss-billing-same-as-owner {
  width: 100%;
  margin: 0 0 18px;
}

.woocommerce-checkout .eepss-billing-same-as-owner label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

/* Stripe is the checkout's only payment method; keep it selected but hide its panel. */
.woocommerce-checkout #payment .wc_payment_methods {
  display: none;
}
/* Required fields use an asterisk; optional checkout fields need no suffix. */
.woocommerce-checkout .optional {
  display: none;
}
