/*
 Theme Name: Divi Child
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: Serafin Heier @ HIMG Hamburg
 Author URI: himg-hamburg.de
 Template: Divi
 Version: 1.0.0
*/
 
/* =Theme customization starts here
 *  Custom CSS
------------------------------------------------------- */

/* ========== Self-hosted Fonts (Lora, Roboto) ========== */
@font-face {
  font-family: 'Lora';
  src: url('fonts/lora-v37-latin/lora-v37-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lora';
  src: url('fonts/lora-v37-latin/lora-v37-latin-700italic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('fonts/roboto-v51-latin/roboto-v51-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('fonts/roboto-v51-latin/roboto-v51-latin-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('fonts/roboto-v51-latin/roboto-v51-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('fonts/roboto-v51-latin/roboto-v51-latin-500italic.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/* ========== CI Design Tokens ========== */
:root {
  --di-violet: #450B54;
  --di-mauve: #CBA0E3;
  --di-yellow: #FFD134;
  --di-anthrazit: #272734;
  --di-lightgray: #F8F9FA;
  --di-teal: #6CD4D1;
  --di-coral: #F46A6A;
  --di-font-heading: 'Lora', Georgia, serif;
  --di-font-body: 'Roboto', system-ui, sans-serif;
}

body {
  font-family: var(--di-font-body);
  color: var(--di-anthrazit);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--di-font-heading);
  font-weight: 700;
  color: var(--di-violet);
}

#dl-account .woocommerce-info {
  background: white !important;
  color: #40404D !important;
  border: 1px solid rgba(39,39,52,.14) !important;
  border-left-width: 4px !important;
  border-left-style: solid !important;
  border-left-color: #F46A6A !important;
}


/* --------------------------------- own Tabs Module start---------------------------------------- */
/* === Tabs component (Divi) === */
.tabs { 
	--tabs-speed: 220ms; 
}

.tabs .tabs-nav{
  position: relative;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 9999px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17,38,91,.06) inset, 0 12px 30px rgba(17,38,91,.07);
}

.tabs .tabs-btn a,
.tabs .tabs-btn button{
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: 12px 22px;
  border-radius: 9999px;
  background: transparent !important;
  box-shadow: none !important;
  line-height: 1;
  transition: color var(--tabs-speed) ease, transform 120ms ease;
}
.tabs .tabs-btn a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.tabs .tabs-btn.is-active a { font-weight: 700; }

.tabs .tabs-indicator{
  position: absolute;
  top: 8px;
  left: 10px;
  height: calc(100% - 16px);
  width: 100px;
  border-radius: 9999px;
  background: #F5C84B;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
  transition: transform var(--tabs-speed) ease, width var(--tabs-speed) ease, background var(--tabs-speed) ease;
  z-index: 1;
}

.tab-panel{
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--tabs-speed) ease, transform var(--tabs-speed) ease;
}
.tab-panel.is-active{
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.tab-panel.is-hiding{
  display: block;
  opacity: 0;
  transform: translateY(8px);
}
/* accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
  .tabs { --tabs-speed: 1ms; }
}
/* --------------------------------- own Tabs Module end ---------------------------------------- */

/* iOS: Text nicht künstlich vergrößern */
html, body {
    -webkit-text-size-adjust: 100%;
}

/* Optional: Footer-Text auf kleinen Geräten etwas kleiner halten */
@media (max-width: 480px) {
    .footer-text {
        font-size: 16px;   /* nach Geschmack anpassen */
        line-height: 1.3;
        max-width: 100%;
    }
}
/* ========== WooCommerce My Account | Finder-like minimal styling (CI) ========== */

/* Overall wrapper */
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content{
  background: #F8F9FA;
  border: 1px solid rgba(39,39,52,.14);
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(39,39,52,.08);
}

/* NAVIGATION */

/* WooCommerce My Account: Menüpunkt "Dashboard" ausblenden */
body.woocommerce-account .woocommerce-MyAccount-navigation {
  display: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-content {
	width: 100%;
}

body.woocommerce-orders .et_pb_column_1,
body.woocommerce-edit-address .et_pb_column_2,
body.woocommerce-payment-methods .et_pb_column_3,
body.woocommerce-edit-account .et_pb_column_4,
body.page-id-220893 .my-account-tab-insurance,
body.woocommerce-customer-logout .et_pb_column_6 {
	background: #FFF;
	box-shadow: inset 0 0 11px rgba(203, 160, 227, 0.3);
	transition: box-shadow 0.25s ease;
}

/* Active tab text color */
body.woocommerce-orders        .my-account-tab-orders   .acc-hover-text .et_pb_text_inner,
body.woocommerce-orders        .my-account-tab-orders   .acc-hover-text .et_pb_text_inner *,

body.woocommerce-edit-address  .my-account-tab-address  .acc-hover-text .et_pb_text_inner,
body.woocommerce-edit-address  .my-account-tab-address  .acc-hover-text .et_pb_text_inner *,

body.woocommerce-payment-methods .my-account-tab-payment .acc-hover-text .et_pb_text_inner,
body.woocommerce-payment-methods .my-account-tab-payment .acc-hover-text .et_pb_text_inner *,

body.woocommerce-edit-account  .et_pb_column_4          .acc-hover-text .et_pb_text_inner,
body.woocommerce-edit-account  .et_pb_column_4          .acc-hover-text .et_pb_text_inner *,

body.woocommerce-customer-logout .et_pb_column_6        .acc-hover-text .et_pb_text_inner,
body.woocommerce-customer-logout .et_pb_column_6        .acc-hover-text .et_pb_text_inner * {
  color: #CBA0E3 !important;
}


.et_pb_column:hover .acc-hover-text * {
  color: #CBA0E3 !important;
}


body.woocommerce-account nav.woocommerce-MyAccount-navigation ul{
  list-style: none;
  margin: 0;
  padding: 10px;
}

body.woocommerce-account nav.woocommerce-MyAccount-navigation li{
  margin: 0;
  padding: 0;
}

body.woocommerce-account nav.woocommerce-MyAccount-navigation a{
  display: block;
  background: #FFFFFF;
  border: 1px solid rgba(39,39,52,.12);
  border-radius: 10px;
  padding: 10px 12px;
  margin: 6px 0;
  color: #272734;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

body.woocommerce-account nav.woocommerce-MyAccount-navigation a:hover{
  background: rgba(203,160,227,.25); /* Mauve tint */
  border-color: rgba(69,11,84,.25);  /* Dark violet tint */
  color: #450B54;
}

/* Active tab */
body.woocommerce-account nav.woocommerce-MyAccount-navigation li.is-active a{
  background: #450B54;
  border-color: #450B54;
  color: #FFFFFF;
}

/* Optional: subtle accent on active (Finder vibe) */
body.woocommerce-account nav.woocommerce-MyAccount-navigation li.is-active a:hover{
  background: #450B54;
  color: #FFFFFF;
}

/* CONTENT (right) */
body.woocommerce-account .woocommerce-MyAccount-content{
  padding: 18px;
}

/* Messages */
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-error{
  background: #FFFFFF;
  border: 1px solid rgba(39,39,52,.14);
  border-left: 6px solid #6CD4D1; /* Teal */
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(39,39,52,.06);
}

body.woocommerce-account .woocommerce-error{
  border-left-color: #F46A6A; /* Koralle */
}

body.woocommerce-account .woocommerce-message a:not(.button),
body.woocommerce-account .woocommerce-info a:not(.button),
body.woocommerce-account .woocommerce-error a:not(.button){
  color: #450B54;
  text-decoration: underline;
}

/* Tables (orders, downloads, etc.) */
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table{
  border-collapse: separate;
  border-spacing: 0;
  background: #FFFFFF;
  border: 1px solid rgba(39,39,52,.14);
  border-radius: 12px;
  overflow: hidden;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table th,
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table td{
  border-bottom: 1px solid rgba(39,39,52,.10);
  padding: 10px 12px;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table tr:last-child th,
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table tr:last-child td{
  border-bottom: 0;
}

/* Forms + inputs */
body.woocommerce-account .woocommerce-MyAccount-content input.input-text,
body.woocommerce-account .woocommerce-MyAccount-content textarea,
body.woocommerce-account .woocommerce-MyAccount-content select{
  background: #FFFFFF;
  border: 1px solid rgba(39,39,52,.16);
  border-radius: 15px;
  padding: 10px 12px;
}

body.woocommerce-account .woocommerce-MyAccount-content input.input-text:focus,
body.woocommerce-account .woocommerce-MyAccount-content textarea:focus,
body.woocommerce-account .woocommerce-MyAccount-content select:focus{
  outline: none;
  border-color: rgba(69,11,84,.55);
  box-shadow: 0 0 0 4px rgba(203,160,227,.25);
}

/* Buttons (minimal, Finder-ish) */
body.woocommerce-account .woocommerce-MyAccount-content .button,
body.woocommerce-account .woocommerce-MyAccount-content button.button,
body.woocommerce-account .woocommerce-MyAccount-content input.button,
body.woocommerce-account .woocommerce-MyAccount-content .edit{
	background: #ffff;      /* Orange */
	border: 1px solid rgba(39,39,52,.18);
	border-radius: 30px;
	color: #272734;           /* Anthrazit */
	box-shadow: 0 8px 16px rgba(39,39,52,.10);
	transition: transform .05s ease, box-shadow .2s ease, filter .2s ease;
	padding-left: 10px;
	padding-right: 10px;
	margin-bottom: 15px;
	margin-top: 15px;
	
}

body.woocommerce-account .woocommerce-MyAccount-content .button:hover,
body.woocommerce-account .woocommerce-MyAccount-content button.button:hover,
body.woocommerce-account .woocommerce-MyAccount-content input.button:hover,
body.woocommerce-account .woocommerce-MyAccount-content .edit:hover{
  filter: brightness(0.98);
  box-shadow: 0 10px 18px rgba(39,39,52,.14);
}

body.woocommerce-account .woocommerce-MyAccount-content .button:active,
body.woocommerce-account .woocommerce-MyAccount-content button.button:active,
body.woocommerce-account .woocommerce-MyAccount-content input.button:active,
body.woocommerce-account .woocommerce-MyAccount-content .edit:active{
  transform: translateY(3px);
}

/* Optional: subtle “card” blocks inside content (addresses, order details) */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-customer-details address,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table{
  background: #FFFFFF;
  border: 1px solid rgba(39,39,52,.12);
  border-radius: 12px;
  padding: 14px;
}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title{
	font-size: 16px !important;
}


/* add to cart button*/
/* =========================
   Normalzustand – kaufbar
   ========================= */
.mcb-atc {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 14px;
  border-radius: 10px;

  background: linear-gradient(135deg, #F46A6A, #F98A8A);
  box-shadow: 0 6px 16px rgba(244,106,106,0.30);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    opacity 0.18s ease;

  cursor: pointer;
  text-decoration: none;
}

/* Hover / Fokus */
.mcb-atc:hover,
.mcb-atc:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #E85A5A, #F46A6A);
  box-shadow: 0 10px 24px rgba(244,106,106,0.40);
}

/* Active */
.mcb-atc:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(244,106,106,0.28);
}

/* Icon */
.mcb-atc img {
  display: block;
  pointer-events: none;
}

/* =========================
   Zustand: bereits im Warenkorb
   ========================= */
.mcb-atc--in-cart {
  background: linear-gradient(135deg, #E5E7EB, #F3F4F6);
  box-shadow: 0 4px 10px rgba(0,0,0,0.10);
  cursor: default;
}

/* Kein Hover-Lift mehr */
.mcb-atc--in-cart:hover,
.mcb-atc--in-cart:focus-visible {
  transform: none;
  background: linear-gradient(135deg, #E5E7EB, #F3F4F6);
  box-shadow: 0 4px 10px rgba(0,0,0,0.10);
}

/* Optional: leicht entsättigtes Icon */
.mcb-atc--in-cart img {
  filter: grayscale(1) opacity(0.7);
}


/* --- Online Learning Navigation Styling --- */

/* Container for the navigation buttons */
.mcb-lesson-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 40px 0;
  justify-content: center;
}

.mcb-lesson-nav__item,
.mcb-lesson-complete-form {
  flex: 0 1 auto; /* Allows buttons to have natural width based on text */
  display: flex;
  justify-content: center;
}

/* Base Button Styling */
.mcb-lesson-button,
.mcb-lesson-complete-form button,
.mcb-module-start-lessons-button {
  display: inline-block;
  font-family: inherit; /* Inherits your brand font */
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 50px; /* Fully rounded "pill" style from your UI */
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

/* Previous Button - Soft & Neutral */
.mcb-lesson-button--previous {
  background-color: #f4f4f4;
  color: #3c0d45;
  border-color: #e0e0e0;
}

.mcb-lesson-button--previous:hover {
  background-color: #e8e8e8;
  transform: translateY(-2px);
}

/* Next Button - The Warm Purple Theme */
.mcb-lesson-button--next {
  background-color: #ffffff;
  color: #3c0d45;
  border: 2px solid #3c0d45;
}

.mcb-lesson-button--next:hover {
  background-color: #3c0d45;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Complete & Start Buttons - The "Call to Action" Black */
/* Styled exactly like the "Kurs starten" buttons in your screenshot */
.mcb-lesson-button--complete,
.mcb-module-start-lessons-button {
  background-color: #1d1d1b;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.mcb-lesson-button--complete:hover,
.mcb-module-start-lessons-button:hover {
  background-color: #3c0d45; /* Switches to brand purple on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(60, 13, 69, 0.2);
}

/* Responsive adjustments for mobile */
@media (max-width: 600px) {
  .mcb-lesson-nav {
    flex-direction: column;
    align-items: stretch;
  }
  .mcb-lesson-nav__item, 
  .mcb-lesson-complete-form {
    flex: 1 1 100%;
  }
  .mcb-lesson-button {
    width: 100%;
  }
}

/* ============================================================================
   SecureCare Admin – WordPress Plugin Styles
   Target: Child theme style.css
   Scope: Only .sca-* and .securecare-* prefixed classes
   Palette: Primary #FFD134, #CBA0E3, #450B54 | Secondary #272734, #F8F9FA, #6CD4D1 | Exception #F46A6A
   ============================================================================ */

/* --------------------------------------------------------------------------
   State Check Block Container
   -------------------------------------------------------------------------- */
.sca-state-check-block {
  max-width: 640px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #F8F9FA;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(69, 11, 84, 0.08);
}

/* --------------------------------------------------------------------------
   State Selection Form
   -------------------------------------------------------------------------- */
.sca-state-check-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.sca-state-check-form label {
  font-weight: 600;
  font-size: 0.9375rem;
  color: #272734;
  margin-bottom: 0.375rem;
  display: block;
}

.sca-state-check-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: #272734;
  background: #ffffff;
  border: 2px solid #CBA0E3;
  border-radius: 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23450B54' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

.sca-state-check-form select:hover {
  border-color: #450B54;
}

.sca-state-check-form select:focus {
  outline: none;
  border-color: #450B54;
  box-shadow: 0 0 0 3px rgba(69, 11, 84, 0.15);
}

.sca-state-check-form button[type="submit"] {
  align-self: flex-start;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #450B54 0%, #5a1068 100%);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 4px rgba(69, 11, 84, 0.2);
}

.sca-state-check-form button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(69, 11, 84, 0.25);
}

.sca-state-check-form button[type="submit"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(69, 11, 84, 0.3), 0 2px 4px rgba(69, 11, 84, 0.2);
}

.sca-state-check-form button[type="submit"]:active {
  transform: translateY(0);
}

@media (min-width: 640px) {
  .sca-state-check-form {
    flex-direction: row;
    align-items: flex-end;
    gap: 1.25rem;
  }
  
  .sca-state-check-form label {
    margin-bottom: 0.5rem;
  }
  
  .sca-state-check-form > div:first-child {
    flex: 1;
  }
}

/* --------------------------------------------------------------------------
   Availability Result Message
   -------------------------------------------------------------------------- */
.sca-result {
	padding: 1.5em 1.25em;
	margin: 1.5rem 0;
	border-radius: 6px;
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.5;
}

.sca-result.sca-is-available {
  background: #e8f9f8;
  color: #0d5350;
  border-left: 4px solid #6CD4D1;
}

.sca-result.sca-is-unavailable {
  background: #fff8e6;
  color: #6b5200;
  border-left: 4px solid #FFD134;
}

/* --------------------------------------------------------------------------
   Insurance Form Section (Gated Content)
   -------------------------------------------------------------------------- */
.sca-insurance-form-gated {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid #CBA0E3;
}

/* --------------------------------------------------------------------------
   Form Wrapper & Alert Messages
   -------------------------------------------------------------------------- */
.securecare-form-wrapper {
  max-width: 100%;
}

.securecare-alert {
	padding: 1.5em 1.25em;
	margin-bottom: 1.5rem;
	border-radius: 6px;
	font-size: 0.9375rem;
	line-height: 1.5;
	font-weight: 500;
}

.securecare-alert-success {
  background: #e8f9f8;
  color: #0d5350;
  border: 1px solid #6CD4D1;
}

.securecare-alert-error {
  background: #fff0f0;
  color: #8b1a1a;
  border: 1px solid #F46A6A;
}

/* --------------------------------------------------------------------------
   Main Form
   -------------------------------------------------------------------------- */
.securecare-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* --------------------------------------------------------------------------
   Form Fields
   -------------------------------------------------------------------------- */
.securecare-field {
  display: flex;
  flex-direction: column;
}

.securecare-field label {
  font-weight: 600;
  font-size: 0.9375rem;
  color: #272734;
  margin-bottom: 0.5rem;
}

.securecare-field input[type="text"],
.securecare-field input[type="email"],
.securecare-field input[type="tel"],
.securecare-field input[type="date"],
.securecare-field select,
.securecare-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: #272734;
  background: #ffffff;
  border: 2px solid #CBA0E3;
  border-radius: 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.securecare-field input[type="text"]:hover,
.securecare-field input[type="email"]:hover,
.securecare-field input[type="tel"]:hover,
.securecare-field input[type="date"]:hover,
.securecare-field select:hover,
.securecare-field textarea:hover {
  border-color: #450B54;
}

.securecare-field input[type="text"]:focus,
.securecare-field input[type="email"]:focus,
.securecare-field input[type="tel"]:focus,
.securecare-field input[type="date"]:focus,
.securecare-field select:focus,
.securecare-field textarea:focus {
  outline: none;
  border-color: #450B54;
  box-shadow: 0 0 0 3px rgba(69, 11, 84, 0.15);
}

.securecare-field textarea {
  min-height: 100px;
  resize: vertical;
}

.securecare-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23450B54' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

/* Invalid/Error State */
.securecare-field input:invalid:not(:placeholder-shown),
.securecare-field select:invalid:not(:placeholder-shown) {
  border-color: #F46A6A;
}

/* --------------------------------------------------------------------------
   Consent Field (Checkbox)
   -------------------------------------------------------------------------- */
.securecare-field-consent {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
}

.securecare-field-consent label {
  margin-bottom: 0;
  font-weight: 400;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  line-height: 1.5;
}

.securecare-field-consent input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
  accent-color: #450B54;
  flex-shrink: 0;
}

.securecare-field-consent input[type="checkbox"]:focus {
  outline: 2px solid #450B54;
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Form Actions (Submit Button)
   -------------------------------------------------------------------------- */
.securecare-actions {
  margin-top: 0.5rem;
}

.securecare-actions button[type="submit"] {
  padding: 0.875rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #450B54 0%, #5a1068 100%);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 4px rgba(69, 11, 84, 0.2);
}

.securecare-actions button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(69, 11, 84, 0.25);
}

.securecare-actions button[type="submit"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(69, 11, 84, 0.3), 0 2px 4px rgba(69, 11, 84, 0.2);
}

.securecare-actions button[type="submit"]:active {
  transform: translateY(0);
}

.securecare-actions button[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.securecare-actions button[type="submit"]:disabled:hover {
  transform: none;
  box-shadow: 0 2px 4px rgba(69, 11, 84, 0.2);
}

/* --------------------------------------------------------------------------
   Responsive Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 639px) {
  .sca-state-check-block {
    padding: 1rem;
    margin: 1rem auto;
  }
  
  .sca-state-check-form button[type="submit"],
  .securecare-actions button[type="submit"] {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Accessibility Enhancements
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .sca-state-check-form select,
  .sca-state-check-form button,
  .securecare-field input,
  .securecare-field select,
  .securecare-field textarea,
  .securecare-actions button {
    transition: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .sca-state-check-form select,
  .securecare-field input[type="text"],
  .securecare-field input[type="email"],
  .securecare-field input[type="tel"],
  .securecare-field input[type="date"],
  .securecare-field select,
  .securecare-field textarea {
    border-width: 3px;
  }
}
