/*
Theme Name: ROXURASS Child
Theme URI: https://www.roxurass.com/
Description: Minimal Divi child theme for ROXURASS. Holds AGREEMENT (opt-in) styles/print/JS separate from plugins.
Author: ROXURASS
Template: Divi
Version: 1.1.1
Text Domain: roxurass-child
*/
/* Keep global tweaks minimal; main rules live in assets/css */

.vapma-has-error { outline: 2px solid rgba(220,53,69,.25); outline-offset: 2px; }
.vapma-error { margin-top: .375rem; font-size: .9em; }

/* ===== VAPMA <dialog> modal ===== */
#vapma-ag-dialog {
  padding: 0;
  border: none;
  width: min(900px, 92vw);
  max-height: 90vh;
  background: transparent;  /* card provides background */
}

#vapma-ag-dialog::backdrop {
  background: rgba(0,0,0,.45);
}

.vapma-dlg-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.20);
  max-height: 90vh;
}

.vapma-dlg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #e5e7eb;
}

.vapma-dlg-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.vapma-dlg-close {
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}

.vapma-dlg-body {
  padding: 16px;
  overflow: auto;
}

.vapma-ag-content p { margin: 0 0 12px; line-height: 1.6; }
.vapma-ag-content h2, .vapma-ag-content h3 { margin: 16px 0 8px; }

/* Ensure it sits above builders that try to overlay things too */
#vapma-ag-dialog { z-index: 2147483647 !important; }
