/* -----------------------------
    Hauptseite (index.php)
   ----------------------------- */
*
    {
    box-sizing:border-box;
    }
body
    {
    font-family:verdana;
    background-color:#23272f;
    color:white;
    }
    h1
      {
      text-align:left;
      font-size:30px;
      }
.container
    {
    max-width:1100px;
    margin-left:auto;
    margin-right:auto;
    }
.header
    {   
    position:sticky;
    border-bottom: 1px solid grey;
    padding:20px 0;
    display:flex;
    justify-content:center;
    align-items:center;
    margin-left:auto;
    margin-right:auto;
    }
.logo
    {
    position:absolute;
    left:0;
    width:auto;
    height:98.5px;
    margin-top:-60px;
    }
.search-bar
    {
    background-color:#21242C;
    color: #f2f2f2;
    max-width:450px;
    min-width:350px;
    padding:10px;
    border:1px solid #ccc;
    border-radius:8px;
    }
.liga-button
    {
    background-color: transparent;
    color: #9aa4ad;
    border: 1px solid #274048;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 15px;
    margin-right: 8px;
    margin-top: 10px;
    margin-bottom:10px;
    cursor: pointer;
    }
.liga-button:hover
    {
    border-color: #10b981;
    }
.liga-button.active
    {
    background-color: #10b981;
    color: #ffffff;
    font-weight: bold;
    }
.transfer-controls
    {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom:5px;
    }
.text-transfer-gefunden
    {
    font-size:14px;
    color: #818898;
    padding-top:15px;
    margin: 0;
    }
.transfer-hinzufuegen
    {
    background-color: #1fae4f;
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 16px;
    cursor:pointer;
    }
.transfer-hinzufuegen:hover
    {
    background-color: #229546;
    }
.transfer-list
    {
    display: block;
    margin-top: 15px;
    }
.transfer-item
    {
    background: rgba(30, 34, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    display: inline-block;
    box-sizing: border-box;
    max-width: 356px;
    position: relative;
    height: 420px;
    width: calc(33.333% - 10px);
    margin: 5px;
    vertical-align: top;
    }
.transfer-item:hover
    {
    box-shadow: 0 5px 10px rgba(255, 255, 255, 0.25);
    }
.transfer-image
    {
    position: relative;
    }
.transfer-item img
    {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 16px;
    display: block;
    }
.badge
    {
    position: absolute;
    top:12px;
    right:12px;
    padding: 5px 10px;
    border-radius:20px;
    font-size:12px;
    font-weight:700;
    }
.badge-bestaetigt
    {
    background-color: #1fae4f;
    color: #ffffff;
    }
.badge-geruecht
    {
    background-color: #d95d11;
    color: #ffffff;
    }
.transfer-item h2
    {
    margin: 0 0 15px;
    font-size: 18px;
    }
.transfer-item p
    {
    color: #af9999;
    font-size:14px;
    margin: 0;
    line-height:1.5;
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 16px;
    }
.meldung
    {
    position: fixed;
    top: 50%;
    left: 50%;
    padding: 20px 30px;
    border-radius: 12px;
    font-size: 15px;
    z-index: 999;
    cursor: pointer;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    text-align: center;
    }
.fehler-meldung
    {
    width: 300px;
    height: 100px;
    margin-left: -150px;
    margin-top: -50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a0f0f;
    border: 1px solid #dc2626;
    color: #f87171;
    }
.erfolgs-meldung
    {
    width: 400px;
    height: 100px;
    margin-left: -150px;
    margin-top: -50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a1f13;
    border: 1px solid #1fae4f;
    color: #4ade80;
    }
    
@media (max-width:1100px) 
    {
    .transfer-item { width: 356px; }
    }
@media (max-width:750px) 
    {
    .transfer-item { width: 356px; }
    }
/* -----------------------------
  // Transfer Hinzufügen Formular 
   ----------------------------- */

.formular
    {
    position: fixed;
    inset: 0;
    background: #23272f;
    display: flex;
    align-items: center;
    justify-content: center;
    }
.formular-overlay 
    {
    width: 560px;
    max-width: calc(100% - 32px);
    background: #0b1116;
    color: #ffffff;
    border-radius: 15px;
    padding: 20px 22px;
    box-shadow: 0 20px 50px rgba(2,6,23,0.8);
    }
.overlay-header 
    {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-top:5px;
    margin-bottom:15px;
    }
.overlay-header h2 
    {
    margin:0;
    font-size:20px;
    font-weight:700;
    }
.overlay-close 
    {
    background: transparent;
    border: none;
    color: #9aa4ad;
    font-size: 18px;
    cursor: pointer;
    }
.form-grid 
    {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 12px;
    }
.full-width 
    { 
    grid-column: 1 / -1; 
    }
label 
    {
     font-size:12px; 
     color:#9aa4ad; 
     margin-bottom:6px; 
     display:block; 
    }
input[type="text"], input[type="email"], input[type="date"], input[type="number"], select, textarea 
    {
    width:100%;
    background:#0f161a;
    border:1px solid #1f2933;
    color:#e6eef5;
    padding:10px 12px;
    border-radius:8px;
    font-size:14px;
    }
.file-input 
    { 
    background:#0f161a; 
    border:1px solid #22313a; 
    padding:8px 10px; 
    border-radius:8px; 
    color:#cbd5e1; 
    }
textarea 
    { 
    min-height:200px; 
    resize:none; 
    }
.placeholder 
    { 
    color:#6b7780; 
    }
.form-actions 
    { 
    display:flex; 
    gap:12px; 
    justify-content:flex-end;
    margin-top:14px; 
    }
.button 
    { 
    padding:10px 14px;
    border-radius:8px; 
    border: none; 
    cursor:pointer; 
    font-weight:700; 
    height: 35px;
    color: #ffffff;
    }
.abbrechen-button 
    { 
    background:transparent; 
    border:1px solid #274048; 
    }
.veroeffentlichen-button 
    { 
    background:#10b981;
    }

@media (max-width:600px) {
    .formular-overlay { width: 100%; padding:16px; }
    .form-grid { grid-template-columns: 1fr; }
}

/* -----------------------------
   Detailseite (transfer-detailseite.php)
   ----------------------------- */

.detail-overlay 
    {
    position: fixed;
    inset: 0;
    background: #23272f4f;
    display: flex;
    align-items: center;
    justify-content: center;
    }
.detail-card 
    {
    width: 640px;
    max-width: 100%;
    background: #0b1116;
    border-radius: 14px;
    color: #e6eef5;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    position: relative;
    }
.detail-image 
    {
    width: 100%;
    height: 360px;
    border-radius: 14px;
    display: block;
    margin-bottom: 0;
    overflow: hidden;
    }
.detail-image img
    {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    }
.detail-body 
    { 
    padding: 20px; 
    }
.detail-league 
    {
    display: inline-block;
    background: #6b46c1;
    color: #fff;
    padding: 6px 15px;
    border-radius: 999px;
    font-size: 13px;
    margin-bottom: 20px;
    }
.detail-title 
    {
     font-size: 20px; 
     margin: 0 0 20px; 
     font-weight: 800; 
    }
.detail-metadaten 
    { 
    display:flex; 
    gap:15px; 
    color:#9aa4ad; 
    font-size:15px; 
    margin-bottom:20px; 
    }
.detail-clubs 
    { 
    font-weight:550; 
    font-size: 17px; 
    color:#6f7980; 
    }
.detail-text 
    { 
    color:#b7c2c9; 
    line-height:1.5; 
    font-size:16px;
    }
.detail-close 
    {
    position: absolute;
    right: 18px;
    top: 12px;
    background: #d3dbe4;
    color: #000000;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    }
.detail-close:hover
    {
    background-color: #b4c8ba;
    }
.detail-buttons
    {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
    }
.detail-buttons a
    {
    text-decoration: none;
    }
.detail-button-edit
    {
    background: #6b7280;
    color: #ffffff;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 600;
    }
.detail-button-edit:hover
    {
    background: #4b5563;
    }
.detail-button-delete
    {
    background: #dc2626;
    color: #ffffff;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 600;
    }
.detail-button-delete:hover
    {
    background: #b91c1c;
    }
@media (max-width:720px) 
    { 
    .detail-card { width: 100%; } 
    }
