/* DLA Button – Frontend Styles */

.dla-btn-clinical {
    display: inline-block;
    background: transparent;
    color: #8DC63F;
    border: 3px solid #8DC63F;
    border-radius: 4px;
    padding: 16px 44px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .22s ease, color .22s ease;
    box-shadow: none;
    outline: none;
    line-height: 1.2;
}
.dla-btn-clinical:hover { background: #8DC63F; color: #fff; }
.dla-btn-trigger { cursor: pointer; }

/* OVERLAY */
.dla-overlay {
    display: none;
    position: fixed !important;
    top: 0 !important; left: 0 !important;
    right: 0 !important; bottom: 0 !important;
    width: 100vw !important; height: 100vh !important;
    z-index: 9999999 !important;
    background: rgba(0,0,0,.62) !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 12px !important;
    box-sizing: border-box !important;
    transform: none !important;
    margin: 0 !important;
}
.dla-overlay.dla-open { display: flex !important; }

/* MODAL */
.dla-btn-modal {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 480px;
    max-height: 82vh;
    overflow-y: auto;
    box-sizing: border-box;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,.28);
    animation: dlaIn .18s ease;
    margin: auto;
    padding: 0;
}
@keyframes dlaIn {
    from { transform:translateY(12px); opacity:0; }
    to   { transform:translateY(0); opacity:1; }
}

/* MODAL HEADER */
.dla-modal-header {
    border-radius: 12px 12px 0 0;
    padding: 24px 32px 0;
    text-align: center;
    background: transparent;
}
.dla-modal-header h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #111;
    line-height: 1.4;
    padding: 0;
}

/* MODAL BODY */
.dla-modal-body {
    padding: 20px 24px 18px;
}

.dla-close {
    position: absolute; top: 10px; right: 12px;
    background: none; border: none;
    font-size: 20px; color: #aaa;
    cursor: pointer; padding: 2px 6px; border-radius:4px; line-height:1;
    z-index: 2;
}
.dla-close:hover { background:#f3f3f3; color:#333; }

/* Radio — verde DOAR la radio */
.dla-radios { display:flex; gap:8px; margin-bottom:16px; flex-wrap:wrap; }
.dla-radio {
    flex:1; min-width:120px;
    display: flex !important;
    align-items: center; gap:7px;
    padding:9px 12px;
    border:2.5px solid #ddd; border-radius:7px;
    cursor:pointer;
    font-size:13px !important; font-weight:500 !important;
    text-transform:none !important; letter-spacing:0 !important;
    transition: border-color .15s, background .15s;
    color:#333; box-sizing: border-box;
}
.dla-radio input[type=radio] { accent-color:#7cb342; width:15px; height:15px; flex-shrink:0; }
.dla-radio:has(input:checked) { border-color:#7cb342; background:#f5faee; border-width:2.5px; }
.dla-radio:hover { border-color:#7cb342; }

/* Fields — neutral, fără verde */
.dla-field { margin-bottom:9px; }
.dla-field label {
    display:block; font-size:10px; font-weight:700;
    letter-spacing:.05em; text-transform:uppercase;
    color:#666; margin-bottom:4px;
}
.dla-field input,
.dla-field select {
    width:100%; box-sizing:border-box;
    padding:8px 11px;
    border:1.5px solid #d1d5db; border-radius:6px;
    font-size:13px; color:#222; background:#fff;
    transition:border-color .15s, box-shadow .15s;
    -webkit-appearance:none; appearance:none;
}
.dla-field input:focus,
.dla-field select:focus {
    outline:none; border-color:#888;
    box-shadow:0 0 0 3px rgba(0,0,0,.07);
    background:#fff;
}
.dla-2col { display:grid; grid-template-columns:1fr 1fr; gap:10px; }

/* Error */
.dla-error {
    display:none;
    background:#fff5f5; border:1px solid #fed7d7;
    color:#c53030; border-radius:5px;
    padding:7px 11px; font-size:12px; margin-bottom:9px;
}

/* Submit */
.dla-submit {
    width:100%; padding:11px; border:none; border-radius:7px;
    font-size:13px; font-weight:700; cursor:pointer; margin-top:6px;
    display:flex; align-items:center; justify-content:center; gap:8px;
    transition:opacity .2s; letter-spacing:.06em; text-transform:uppercase;
}
.dla-submit:hover { opacity:.85; }
.dla-submit:disabled { opacity:.5; cursor:not-allowed; }

/* Thank you */
.dla-thankyou { display:none; text-align:center; padding:20px 0 10px; }
.dla-thankyou .dla-ty-icon { font-size:40px; margin-bottom:12px; }
.dla-thankyou p {
    font-size:15px; color:#1a1a2e; line-height:1.5;
    font-weight:600; margin:0;
}

/* Responsive */
@media(max-width:480px){
    .dla-modal-body { padding:16px 14px 14px; }
    .dla-btn-modal { max-height:90vh; }
    .dla-2col { grid-template-columns:1fr; }
    .dla-radios { flex-direction:column; }
}
