.wp-block-preformatted{
    min-width:1200px;
    background-color:#f0f0ed;
}
  .page-header {
    max-width: 1100px;
    margin: 0 auto 28px;
  }

  .page-header h1 {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.4px;
    color: #111;
    margin-bottom: 4px;
  }

  .page-header .logged-in {
    font-size: 13px;
    color: #666;
  }

  .page-header .logged-in strong {
    color: #111;
    font-weight: 500;
  }

  .layout {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 20px;
    align-items: start;
  }

  /* --- Main Form Card --- */
  .form-card {
    background: #fff;
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.07);
  }

  .form-card h2 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: -0.2px;
  }

  .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .form-group.full {
    grid-column: 1 / -1;
  }

  label {
    font-size: 13px;
    color: #555;
    font-weight: 500;
    float: left;
  }

  label .optional {
    font-weight: 400;
    color: #999;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="date"],
  input[type="time"],
  select,
  textarea {
    width: 100%;
    padding: 10px 13px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    color: #111;
    background: #fff;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    appearance: none;
    -webkit-appearance: none;
  }

  input:focus, select:focus, textarea:focus {
    border-color: #4a7c59;
    box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.12);
  }

  input::placeholder, textarea::placeholder {
    color: #bbb;
  }

  textarea {
    resize: vertical;
    min-height: 80px;
    line-height: 1.5;
  }

  /* Select with arrow */
  .select-wrapper {
    position: relative;
  }

  .select-wrapper::after {
    content: '';
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #888;
    pointer-events: none;
  }

  .select-wrapper select {
    padding-right: 32px;
    cursor: pointer;
  }

  /* Services section */
  .section-title {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    margin-bottom: 10px;
    margin-top: 8px;
  }

  .services-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
  }

  .service-row {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .service-row .select-wrapper {
    flex: 1;
  }

  .service-row select {
    background: #f8f8f7;
    border-color: #e0e0dc;
    font-size: 13px;
  }

  .btn-remove {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #888;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.15s, color 0.15s;
  }

  .btn-remove:hover { border-color: #e55; color: #e55; }

  .btn-add-service {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #444;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.15s, background 0.15s;
    margin-top: 2px;
  }

  .btn-add-service:hover { background: #f5f5f3; border-color: #bbb; }

  .btn-add-service svg { width: 14px; height: 14px; }

  /* Add service tools row */
  .service-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
  }

  .service-tools-label {
    font-size: 13px;
    color: #4a7c59;
    font-weight: 500;
  }

  .icon-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
  }

  .icon-btn:hover { background: #f5f5f3; }

  /* Date input */
  input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0.5;
    cursor: pointer;
  }

  /* --- Sidebar Card --- */
  .sidebar-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.07);
    position: sticky;
    top: 20px;
    display:grid;
  }

  .sidebar-card h2 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.2px;
  }

  .overview-name {
    font-size: 15px;
    font-weight: 600;
    color: #111;
    line-height: 1;
  }

  .overview-name span {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: #777;
    margin-top: 1px;
  }

  .overview-section-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #aaa;
    font-weight: 600;
    margin-bottom: 8px;
  }

  .overview-address {
    font-size: 13px;
    color: #555;
    margin-bottom: 18px;
    line-height: 1.5;
  }

  .overview-services {
      line-height: 1;
  }

  .overview-service-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid #f3f3f0;
    font-size: 13px;
  }

  .overview-service-item:last-child { border-bottom: none; }

  .check-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #e6f2ea;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .check-icon svg { width: 10px; height: 10px; }

  .service-name { flex: 1; font-weight: 500; color: #222; }

  .service-meta { color: #888; font-size: 12px; }

  .overview-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 14px 0 16px;
    border-top: 1.5px solid #eee;
    margin-top: 4px;
  }

  .total-label { font-size: 14px; font-weight: 500; color: #555; }

  .total-amount { font-size: 22px; font-weight: 700; color: #111; letter-spacing: -0.5px; }

  .discount-row {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
  }

  .discount-row input {
    flex: 1;
    color: #aaa;
  }

  .btn-apply {
    padding: 10px 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
    white-space: nowrap;
  }

  .btn-apply:hover { background: #f5f5f3; }

  .btn-confirm {
    width: 100%;
    padding: 13px;
    background: #4a7c59;
    color: #fff;
    border: none;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    letter-spacing: 0.1px;
    transition: background 0.15s, transform 0.1s;
    margin-bottom: 12px;
  }

  .btn-confirm:hover { background: #3d6b4c; }
  .btn-confirm:active { transform: scale(0.99); }

  .notification-note {
    font-size: 11.5px;
    color: #999;
    line-height: 1.5;
    text-align: center;
  }

  .notification-note a { color: #4a7c59; text-decoration: none; }

  /* Divider */
  .form-divider {
    border: none;
    border-top: 1px solid #f0f0ec;
    margin: 20px 0;
    grid-column: 1 / -1;
  }
  .custom_services{
      display:flex;
  }
  .osf_add_services{
    display: inline-block;
    text-align: left;
    background-color: whitesmoke;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #c6c6c6;
    cursor:pointer;
  }

  @media (max-width: 800px) {
    .layout { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full { grid-column: 1; }
    .sidebar-card { position: static; }
  }