/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.0.1746609141
Updated: 2025-05-07 09:12:21

*/

/* Child theme style.css */

.content-wrap,
.wrap.client-single,
.wrap.client-archive {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 15px !important;
  box-sizing: border-box;
}

/* Két oszlopos elrendezés single jármű adatlaphoz */
.vehicle-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5em;
}

.vehicle-details .field h2 {
  margin: 0 0 0.5em;
}

/* --- Single auto: rendszám külön sorban, kétsoros grid alatta --- */

/* a nagy rendszám */
.vehicle-plate-single {
  font-size: 1.8em;
  margin-bottom: 0.5em;  /* kisebb hézag alul */
}

/* a többi mező kétsoros gridben, kis gap-pel */
.vehicle-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5em 1.5em;     /* 0.5em sorköz, 1.5em oszlopköz */
}

.vehicle-details .field p {
  margin: 0;            /* ne legyen plusz hézag a p-ben */
}

/* szerkesztés / vissza gombok */
.content-wrap .actions {
  margin-top: 1em;
}

/* két oszlopos elrendezés az edit form mezőinek */
.vehicle-edit-form .acf-form {
  display: grid;
   gap: 1em;          /* oszlop- és sorköz */
}

/* veszd ki az alap puffer-margint, a gap elég lesz */
.vehicle-edit-form .acf-field {
  margin-bottom: 0;
}

/* ha akarsz, beállíthatsz egy full-width mezőt is, pl. ha kell:
.vehicle-edit-form .acf-field[data-name="long_text_field"] {
  grid-column: 1 / -1;
}
*/
/* 1) A mezők konténerén állítjuk be a gridet, ne a form-on */
.vehicle-edit-form .acf-form .acf-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1em;             /* oszlop- és sorköz */
}

/* 2) Minden mezőt 100%-osan kitöltünk a cellában */
.vehicle-edit-form .acf-form .acf-field {
  width: 100%;
  margin-bottom: 0;     /* ACF alap puffer helyett a gap-et használjuk */
}

/* 3) Teljes széles mezőket (ha kell) ilyen selector-rel lehet spanningolni: */
/*
.vehicle-edit-form .acf-form .acf-field[data-name="some_long_field"] {
  grid-column: 1 / -1;
}
*/

/* 4) A gombokat ne a grid tartsa, hanem külön blokk: */
.vehicle-edit-form .acf-form .acf-form-submit {
  grid-column: 1 / -1;
  margin-top: 1em;
}
/* Középre igazítjuk a szerkesztő formot */
.vehicle-edit-form {
  max-width: 800px;    /* tetszőleges, a formhoz igazítható szélesség */
  margin: 0 auto;      /* vízszintes középre igazítás */
  padding: 0 15px;     /* egy kis oldalpaddings, hogy ne érjen ki teljesen */
  box-sizing: border-box;
}
/* Ha a content-wrap is beleszólna */
.content-wrap.vehicle-edit-form {
  max-width: 1200px;
  margin: 0 auto;
}

/* Középre igazítjuk a vehicle edit formot és az ACF formot */
.content-wrap.vehicle-edit-form,
.vehicle-edit-form .acf-form {
  max-width: 1200px !important;    /* tetszőleges szélesség */
  box-sizing: border-box;
  padding: 0 15px;                /* oldalpaddings, hogy ne érjen ki teljesen */
}

/* Ha még a mezőket is szeretnéd behatárolni */
.vehicle-edit-form .acf-fields {
  max-width: 1200px !important;
  
}
/* Az edit form textarea (megjegyzés) full-width span */
.vehicle-edit-form .acf-field[data-name="vehicle_note"] {
  grid-column: 1 / -1;
}

/* --- Kártyák stílusa --- */
.card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 1.5em;
}

.card-header {
  border-bottom: 1px solid #eee;
  padding: 0.75em 1em;
}

.card-header h2,
.card-header h3 {
  margin: 0;
  font-size: 1.25em;
}

.card-body {
  padding: 1em;
}

.job-sheet-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.job-sheet-list li {
  margin-bottom: 0.5em;
}

.job-sheet-list li a {
  text-decoration: none;
  color: #0073aa;
}

.job-sheet-list li a:hover {
  text-decoration: underline;
}
/* --- Kétoszlopos vehicle-details layout --- */
.vehicle-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5em;
}

.vehicle-details .col-left,
.vehicle-details .col-right {
  /* opcionális: belső padding, ha kell */
}

.vehicle-details .col-full {
  grid-column: 1 / -1;
}

/* actions gomb külön a full szélességben */
.vehicle-details .actions {
  margin-top: 1em;
  text-align: right;
}

/* a kártyák stílusa (ha még nincs benne) */
.card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 1.5em;
}
.card-header {
  border-bottom: 1px solid #eee;
  padding: 0.75em 1em;
}
.card-header h2,
.card-header h3 {
  margin: 0;
}
.card-body {
  padding: 1em;
}
/* Kártyák keskenyebbre szabása és középre igazítása */
.vehicle-card,
.job-sheets-card {
  max-width: 1200px;      /* tetszőleges, ízlés szerint módosíthatod */
  margin: 0 auto 1.5em;  /* felül 0, alul 1.5em térköz, középre igazítás */
}

/* Szerkesztő oldal fullscreen szerűen */
/* 1) Engedélyezzük, hogy a vehicle-edit-form teljes szélességet vegyen fel */
.vehicle-edit-form {
  max-width: 1200px !important;  /* vagy tetszőleges nagyobb érték */
  width: 90%;                     /* hogy kicsit beljebb is legyen */
  margin: 0 auto;                 /* középre */
}

/* Ha az ACF formot is tágítani kell */
.vehicle-edit-form .acf-form {
  max-width: 1000px !important;
  width: 100%;
  margin: 0 auto;
}

/* --- Kártyák középre, kétoszlopos client-details --- */
.card {
  background:#fff;
  border:1px solid #ddd;
  border-radius:6px;
  box-shadow:0 2px 4px rgba(0,0,0,0.1);
  margin:1.5em auto;
  max-width:1200px;
}
.card-header {
  border-bottom:1px solid #eee;
  padding:.75em 1em;
}
.card-body {
  padding:1em;
}
.client-details {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:2rem;
}
.client-details .col-full {
  grid-column:1 / -1;
}
.client-details .actions {
  text-align:right;
}

/* --- Kapcsolódó munkalapok táblázat --- */
.related-jobs-table {
  width:100%;
  border-collapse:collapse;
}
.related-jobs-table th,
.related-jobs-table td {
  border:1px solid #ccc;
  padding:.5em 1em;
}
.related-jobs-table th {
  background:#f7f7f7;
  text-align:left;
}

Add to your child theme style.css:

.job-sheet-table {
  width: 100%;
  border-collapse: collapse;
}
.job-sheet-table th,
.job-sheet-table td {
  border: 1px solid #ddd;
  padding: 0.75rem;
  font-size: 0.9rem;
  text-align: left;
}
.job-sheet-table th {
  background-color: #f9f9f9;
}
.job-sheet-table td:last-child {
  white-space: nowrap;
}
.job-sheet-table .dashicons {
  font-size: 1.2rem;
  margin-right: 0.5rem;
  vertical-align: middle;
}