    :root{
      --bg: #ffffff;
      --text: #111111;
      --muted: #5a5f66;
      --line: #e7eaee;
      --card: #f7f8fa;
      --accent: #00a3da; /* poți schimba ușor */
      --max: 980px;
      --article: 760px;
      --shadow: 0 10px 30px rgba(0,0,0,.06);
      /* --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji"; */
    }

    /* Form block inside article */
    .h5{
        line-height: 1.4;
    }
    .side-padding-30{
        padding:0 30px;
    }
    .form-block{
      margin: 22px 0 18px;
      border:1px solid rgba(44,175,210,.28);
      background: linear-gradient(180deg, rgba(44,175,210,.10), rgba(44,175,210,.05));
      padding: 18px;
      padding-left: 30px;
      padding-right: 30px;
      box-shadow: 0 10px 26px rgba(44,175,210,.12);
        border-radius: 3px;
    }
    .form-title{
      margin-bottom: 10px;
    }
    .form-title h3{
      margin:0;
      font-size: 18px;
      letter-spacing: -0.02em;
    }
    .form-title p{
      margin:6px 0 0;
      color: var(--muted);
      font-size: 13px;
      max-width: 52ch;
    }
    .badge{
      border-radius: 999px;
      padding: 7px 10px;
      font-weight: 800;
      font-size: 12px;
      background: #fff;
      border:1px solid rgba(44,175,210,.35);
      color:#0b5a6f;
      white-space: nowrap;
      height: fit-content;
    }

    #site form{
      margin-top: 12px;
      display:grid;
      grid-template-columns: 1fr;
      gap: 12px;
    }
    @media (min-width: 720px){
      #site form{
        grid-template-columns: 1fr 1fr;
      }
      .span-2{ grid-column: 1 / -1; }
    }

    #site label{
      display:block;
      font-size: 14px;
      font-weight: 750;
      color: #2a2f36;
      margin: 0 0 6px;
      position: relative;
    }
    #site .field{
      background:#fff;
      border:1px solid var(--line);
      border-radius: 3px;
      padding: 5px 12px;
      transition: border-color .15s ease, box-shadow .15s ease;
    }
    #site .field:focus-within{
      border-color: rgba(44,175,210,.8);
      box-shadow: 0 0 0 4px rgba(44,175,210,.14);
    }
    #site input, #site select, #site textarea{
      box-shadow: none;
      width: 100%;
      border:0;
      outline:0;
      font-size: 14px;
      /* font-family: var(--font); */
      background: transparent;
      color: var(--text);
      padding: 0;
      margin: 0;
    }
    .field-group{
        margin-bottom: 14px;
    }
    .align-items-start{
        align-items: flex-start;
    }
    .span-2 .mx-3{
        margin-top: 1em;
        margin-bottom: 2em;
        line-height: 1.4;
    }
    .span-2 .h4{
        font-size: 14px;
        color: #2a2f36;
        font-weight: 750;
    }
    #site input[type="checkbox"],
    #site input[type="radio"]{
      width: auto;
      height: auto;
      max-width: none;
      margin-right: 6px;
        width: 14px;
        height: 14px;
    }
    #site input[type="checkbox"]+label,
    #site input[type="radio"]+label{
        max-width: none;
        line-height: 1.3;
        margin-bottom: 0!important;
    }
    #site textarea{ min-height: 96px; resize: vertical; }

    .hint{
      font-size: 12px;
      color: var(--muted);
      margin-top: 8px;
    }

    .actions{
      display:flex;
      gap: 10px;
      align-items:center;
      justify-content: space-between;
      flex-wrap: wrap;
      margin-top: 6px;
    }
    #site .btn{
      appearance:none;
      border:0;
      /* border-radius: 14px; */
      padding: 12px 14px;
      font-weight: 850;
      cursor:pointer;
      font-size: 14px;
    }
    #site .btn-primary{
      background: var(--accent);
      color:#fff;
      /* box-shadow: 0 12px 24px rgba(44,175,210,.28); */
    }
    #site .btn-primary:hover{ filter: brightness(.98); }
    #site .btn-ghost{
      background: #fff;
      border:1px solid var(--line);
      color: var(--text);
    }
    #site .btn-ghost:hover{ background: var(--card); }

    #site .smallprint{
      font-size: 12px;
      color: var(--muted);
      max-width: 70ch;
    }
    /* Article Form Builder Styles */

    /* Success state - replaces form content */
    .artform-success-message {
        text-align: center;
        padding: 40px 20px;
    }
    .artform-success-message .success-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 20px;
        background: #28a745;
        color: #fff;
        border-radius: 50%;
        font-size: 32px;
        line-height: 60px;
        font-weight: bold;
    }
    .artform-success-message .success-text {
        font-size: 1.25em;
        color: #155724;
        font-weight: 500;
    }

    .artform-message.success {
        background: #d4edda;
        color: #155724;
        border: 1px solid #c3e6cb;
        padding: 15px;
        border-radius: 4px;
        margin-top: 15px;
    }
    .artform-message.error {
        background: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb;
        padding: 15px;
        border-radius: 4px;
        margin-top: 15px;
    }
    .artform-form [data-field-name] {
        margin-bottom: 1rem;
    }
    .artform-form .form-control.is-invalid {
        border-color: #dc3545;
    }
    .artform-form.was-validated .form-control:valid {
        border-color: #28a745;
    }

    /* Error bubble styles */
    .artform-error-bubble {
        display: none;
        position: absolute;
        top: -110%;
        left: 0;
        padding: 4px 10px;
        background: #dc3545;
        color: #fff;
        font-size: 0.8em;
        font-weight: normal;
        border-radius: 4px;
        white-space: nowrap;
        vertical-align: middle;
        font-size: 14px;
    }
    .artform-error-bubble::before {
        content: '';
        position: absolute;
        left: 26px;
        bottom: -11px;
        transform: rotate(270deg);
        border: 6px solid transparent;
        border-right-color: #dc3545;
    }
    .artform-error-bubble.show {
        display: inline-block;
    }

    /* For smaller screens, make bubble display below */
    @media (max-width: 576px) {
        .artform-error-bubble {
            display: none;
            position: absolute;
            left: 0;
            top: -160%;
            margin-left: 0;
            margin-top: 4px;
            z-index: 10;
        }
        .artform-error-bubble::before {
            border: 6px solid transparent;
            border-bottom-color: #dc3545;
            border-top: 0;
            bottom: -6px;
            transform: rotate(180deg);
        }
        .artform-error-bubble.show {
            display: block;
        }
        .artform-form label,
        .artform-form .h4 {
            position: relative;
        }

        .article-text > *:not(blockquote):not(picture):not(.article-content-image-container):not(.article-content-iframe-container):not(.table-responsive):not(figure){\
            padding-left: 0!important;
            padding-right: 0!important;
        }
        .side-padding-30{
            padding-left: 0!important;
        }
    }
    #site form.form-submitted {
        grid-template-columns: 1fr!important;
    }

