body.drf-embed-only-form header,
body.drf-embed-only-form .site-header,
body.drf-embed-only-form .site-footer,
body.drf-embed-only-form .entry-header,
body.drf-embed-only-form .entry-footer,
body.drf-embed-only-form .sidebar,
body.drf-embed-only-form .widget-area {
    display: none !important;
}

body.drf-embed-only-form .drf-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.drf-wrapper {
padding: 24px 16px;
background: #f3f4f6;
border-radius: 10px 10px 10px 10px;
-webkit-border-radius: 10px 10px 10px 10px;
-moz-border-radius: 10px 10px 10px 10px;
border: 1px solid #8a8a8a;
}

.drf-card {
max-width: 820px;
margin: 0 auto;
background: #ffffff;
border-radius: 16px;
box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
padding: 24px 20px 28px;
box-sizing: border-box;
border: 1px solid #e5e7eb;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

.drf-title {
margin: 0 0 4px;
font-size: 32px;
font-weight: 600;
color: #111827;
}

.drf-subtitle {
margin: 0 0 18px;
font-size: 14px;
color: #6b7280;
 font-style: italic;
}

.drf-alert {
padding: 8px 12px;
border-radius: 999px;
font-size: 13px;
margin-bottom: 14px;
display: inline-flex;
align-items: center;
gap: 6px;
}

.drf-alert-success {
background: rgba(22, 163, 74, 0.08);
color: #166534;
border: 1px solid rgba(22, 163, 74, 0.25);
}

.drf-form {
margin: 0;
}

.drf-section {
margin-bottom: 20px;
padding-bottom: 16px;
border-bottom: 1px solid #e5e7eb;
}

.drf-section:last-of-type {
border-bottom: none;
padding-bottom: 0;
margin-bottom: 0;
}

.drf-section-title {
margin: 0 0 10px;
font-size: 16px;
font-weight: 600;
color: #111827;
}

.drf-helper-text {
margin: 0 0 12px;
font-size: 13px;
color: #6b7280;
}

.drf-grid-2 {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 14px 18px;
}

.drf-field-group {
margin-bottom: 8px;
}

.drf-label {
display: block;
margin-bottom: 2px;
font-size: 13px;
font-weight: 500;
color: #374151;
}

.drf-input {
width: 100%;
padding: 6px 10px;
border-radius: 8px;
border: 1px solid #d1d5db;
font-size: 14px;
box-sizing: border-box;
background: #f9fafb;
transition: border-color 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}

.drf-input:focus {
outline: none;
border-color: #05482f;
background: #ffffff;
box-shadow: 0 0 0 1px rgba(5, 72, 47, 0.2);
}

.drf-row {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12px 14px;
padding: 10px;
margin-bottom: 8px;
border-radius: 12px;
border: 1px solid #e5e7eb;
background: #f9fafb;
}

.drf-row .drf-field-group {
margin-bottom: 0;
}

.drf-row .drf-field-group:nth-child(1),
.drf-row .drf-field-group:nth-child(2),
.drf-row .drf-field-group:nth-child(3) {
grid-column: span 1;
}

.drf-row .drf-field-group:nth-child(4),
.drf-row .drf-field-group:nth-child(5) {
grid-column: span 1;
}

.drf-row .drf-btn-ghost.drf-remove-row {
align-self: flex-end;
justify-self: flex-start;
}

.drf-row-actions {
margin-top: 8px;
}

.drf-submit-section {
display: flex;
justify-content: flex-end;
margin-top: 4px;
}

.drf-btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 7px 16px;
border-radius: 999px;
font-size: 14px;
font-weight: 500;
border: none;
cursor: pointer;
transition: transform 0.08s ease, box-shadow 0.12s ease, background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.drf-btn-primary {
background: #11103d;
color: #ffffff;
box-shadow: 0 10px 20px rgba(5, 72, 47, 0.35);
}

.drf-btn-primary:hover {
background: #294b89;
box-shadow: 0 12px 26px rgba(5, 72, 47, 0.4);
transform: translateY(-1px);
}

.drf-btn-secondary {
background: #294b89;
color: #f9fafb;
}

.drf-btn-secondary:hover {
background: #11103d;
transform: translateY(-1px);
}

.drf-btn-ghost {
background: transparent;
color: #6b7280;
border: 1px solid #d1d5db;
padding-left: 12px;
padding-right: 12px;
}

.drf-btn-ghost:hover {
background: #f3f4f6;
color: #374151;
}

.drf-btn:active {
transform: translateY(0);
box-shadow: none;
}

@media (max-width: 900px) {
.drf-row {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}

@media (max-width: 700px) {
.drf-card {
padding: 20px 14px 22px;
}

.drf-grid-2 {
grid-template-columns: 1fr;
}

.drf-row {
grid-template-columns: 1fr;
}

.drf-submit-section {
justify-content: stretch;
}

.drf-submit-section .drf-btn-primary {
width: 100%;
}
}

/* Tighten label-to-input gap globally */
.drf-field-group .drf-label {
  margin-bottom: 0 !important;
}

.drf-field-group .drf-input {
  margin-top: 0 !important;
}

.drf-agent-email-form {
margin-bottom: 10px;
}

/* Remove unwanted theme spacing */
.drf-field-group input,
.drf-field-group select,
.drf-field-group textarea {
  margin-top: 0 !important;
}

.drf-alert-error {
background: rgba(220, 38, 38, 0.08);
color: #b91c1c;
border: 1px solid rgba(220, 38, 38, 0.25);
}

drf-alert-error {
padding: 8px 12px;
border-radius: 999px;
font-size: 13px;
margin-bottom: 14px;
display: inline-flex;
align-items: center;
gap: 6px;
background: rgba(220, 38, 38, 0.08);
color: #b91c1c;
border: 1px solid rgba(220, 38, 38, 0.25);
}


/* ================================
   GoAppily-style Passport Request
   ================================ */

.goappily-passport-request {
    max-width: 900px;
    margin: 30px auto;
    padding: 0;
}

.goappily-passport-card {
    background: #ffffff;
    border-radius: 8px;
    border-top: 3px solid #05482f; /* same accent as Travel details / booking tools */
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    padding: 24px 24px 28px;
}

.goappily-section-title {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    color: #222;
    display: flex;
    align-items: center;
    gap: 8px;
}

.goappily-section-title i {
    color: #05482f;
    font-size: 18px;
}

.goappily-section-intro {
    margin: 0 0 18px;
    font-size: 14px;
    color: #555;
}

/* alert styles similar to CRM notices */
.goappily-alert {
    border-radius: 4px;
    padding: 10px 12px;
    margin: 0 0 15px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.goappily-alert i {
    font-size: 14px;
}

.goappily-alert-success {
    background: #ecfdf3;
    border: 1px solid #22c55e;
    color: #166534;
}

.goappily-alert-error {
    background: #fef2f2;
    border: 1px solid #f97373;
    color: #991b1b;
}

/* sections per passenger */
.goappily-passport-section {
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    padding: 14px 16px 18px;
    margin: 0 0 18px;
    background: #f9fafb;
}

.goappily-passport-section-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 10px;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 6px;
}

.goappily-passport-section-title i {
    color: #6b7280;
}

/* rows & fields */
.goappily-passport-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-bottom: 10px;
}

.goappily-passport-row-grid .goappily-form-field {
    flex: 1 1 200px;
}

.goappily-form-field {
    min-width: 0;
}

.goappily-form-field-static .goappily-static-value {
    padding: 7px 10px;
    border-radius: 4px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    font-size: 13px;
}

.goappily-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #4b5563;
    margin-bottom: 3px;
}

.goappily-input {
    width: 100%;
    padding: 7px 9px;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    font-size: 13px;
    background-color: #ffffff;
    box-sizing: border-box;
}

.goappily-input:focus {
    outline: none;
    border-color: #05482f;
    box-shadow: 0 0 0 1px rgba(5, 72, 47, 0.25);
}

/* buttons (reuse your green primary style) */
.goappily-passport-actions {
    margin-top: 12px;
    text-align: right;
}

.goappily-primary-button.goappily-passport-submit {
    background-color: #05482f;
    border-color: #05482f;
    color: #ffffff;
    font-weight: 600;
    border-radius: 4px;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.goappily-primary-button.goappily-passport-submit:hover {
    background-color: #065f46;
    border-color: #065f46;
}

.goappily-primary-button.goappily-passport-submit i {
    font-size: 13px;
}

/* Better alignment for the legend line */
.goappily-passport-section-title {
    padding: 0 6px;
    border: none;
    line-height: 1.4;
}

/* Icon spacing next to PASSENGER 1 */
.goappily-passport-section-title i {
    margin-right: 6px;
}


