/***********************************************
  1) Reset & Body
***********************************************/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    margin: 0; 
    font-family: Arial, sans-serif;
    background: #fff; 
    color: #000;
}
body.sell-body {
    overflow-x: hidden;
}

/***********************************************
  2) HEADER (schwarz, weiße Schrift)
***********************************************/
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: #000; 
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
    color: #fff;
}
.header-left,
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.brug-logo {
    font-size: 1.4rem;
    font-weight: bold;
    color: #fff;
}
.primary-search input {
    width: 300px;
    padding: 8px;
    border: 1px solid #ccc;
    background: #fff;
    color: #000;
    font-size: 1rem;
}
.account-btn {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex; 
    justify-content: center; 
    align-items: center;
}
.account-icon {
    width: 24px;
    height: 24px;
    filter: invert(100%);
}

/***********************************************
  3) MAIN
***********************************************/
.sell-main {
    margin-top: 70px;
    padding: 20px;
    max-width: 900px;
    margin: 70px auto 0 auto;
}
.intro-section {
    margin-bottom: 20px;
}
.intro-section h1 {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 8px;
}
.intro-section p {
    font-size: 0.9rem;
    color: #444;
}

/***********************************************
  4) Formular => Blöcke mit schwarzem Rand
***********************************************/
.sell-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.option-block {
    border: 1px solid #000;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.option-block h2 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    font-weight: bold;
}
.option-block label {
    font-size: 0.85rem;
    font-weight: 600;
}
.option-block input[type="text"],
.option-block input[type="number"],
.option-block select,
.option-block textarea {
    border: 1px solid #000;
    padding: 6px;
    font-size: 0.85rem;
    width: 100%;
}
.option-block input[type="file"] {
    border: none;
}
.option-block textarea {
    resize: vertical;
    min-height: 60px;
}
.option-block input[type="text"]:focus,
.option-block input[type="number"]:focus,
.option-block select:focus,
.option-block textarea:focus {
    outline: none;
    border: 2px solid #000;
}
.row-2cols {
    display: flex;
    gap: 20px;
}
.col-left,
.col-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/***********************************************
  5) Upload-List
***********************************************/
.upload-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}
.add-img-btn {
    background: #000;
    color: #fff;
    border: 1px solid #000;
    font-size: 0.8rem;
    padding: 5px 10px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}
.add-img-btn:hover {
    background: #fff;
    color: #000;
}
.upload-list {
    list-style: none;
    margin: 10px 0 0 0;
    padding: 0;
}
.upload-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
    font-size: 0.85rem;
}
.remove-btn {
    background: none;
    color: #000;
    border: 1px solid #000;
    padding: 2px 6px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.remove-btn:hover {
    background: #000;
    color: #fff;
}

/***********************************************
  6) Submit Button
***********************************************/
.submit-btn {
    background: #000;
    color: #fff;
    border: 1px solid #000;
    font-size: 0.9rem;
    padding: 8px 16px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    align-self: flex-start;
}
.submit-btn:hover {
    background: #fff;
    color: #000;
}

/***********************************************
  7) FOOTER
***********************************************/
.main-footer {
    background: #f5f5f5;
    border-top: 1px solid #ccc;
    padding: 20px;
    text-align: center;
    color: #000;
    margin-top: 40px;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 10px;
}
.footer-links a {
    text-decoration: none;
    color: #000;
    font-size: 0.8rem;
}
.footer-links a:hover {
    text-decoration: underline;
}
.footer-note {
    font-size: 0.75rem;
    color: #444;
}

/***********************************************
  8) Responsive Design
***********************************************/
@media (max-width: 600px) {
    .row-2cols {
        flex-direction: column;
    }
    .primary-search input {
        width: 200px;
    }
}

/***********************************************
  LOGIN-SIGNUP-TAB (Großer Kasten mit Tabs)
***********************************************/
#loginSignupTab {
    /* Großer Rahmen, wie Deine option-blocks */
    border: 1px solid #000;
    padding: 15px;
    background: #fff;      /* Weißer Hintergrund, Kontrast zu schwarzem Rand */
    margin-bottom: 20px;   /* Abstand unterhalb */
    display: none;         /* Standard: ausgeblendet; per JS ggf. auf 'block' */
  }
  
  /* Tab-Leiste */
  #loginSignupTab .tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
  }
  #loginSignupTab .tab-button {
    background: #ccc;
    color: #000;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.3s;
  }
  #loginSignupTab .tab-button:hover {
    background: #bbb;
  }
  #loginSignupTab .tab-button.active {
    background: #000;
    color: #fff;
  }
  
  /* Inhaltspanels der Tabs */
  #loginSignupTab .tab-panel {
    display: none; /* Standard: hidden */
    margin-bottom: 10px;
  }
  #loginSignupTab .tab-panel.active {
    display: block; 
  }
  
  /***********************************************
    TAB-PANELS => Eingabeblöcke (ähnlich option-block)
  ***********************************************/
  #loginSignupTab .option-block {
    border: 1px solid #000;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
  }
  
  #loginSignupTab .option-block label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #000;
  }
  
  #loginSignupTab .option-block input[type="email"],
  #loginSignupTab .option-block input[type="password"] {
    border: 1px solid #000;
    padding: 6px;
    font-size: 0.85rem;
    color: #000;
    background: #fff;
  }
  
  #loginSignupTab .option-block input[type="email"]:focus,
  #loginSignupTab .option-block input[type="password"]:focus {
    outline: none;
    border: 2px solid #000;
  }
  
  /* Kleiner Absatz, falls Du dort Hinweise unterbringst */
  #loginSignupTab .tab-panel p {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.3;
  }

  /* Aus Platzgründen hier nur die Ergänzungen gezeigt. Rest wie in deinem Beispiel. */

/* Kleine quadratische Vorschaubilder */
.thumbnail-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, 100px);
    gap: 10px;
    margin-top: 10px;
  }
  
  .thumbnail-item {
    position: relative;
    width: 100px; 
    height: 100px;
    background: #eee; 
    overflow: hidden;
    display: flex; 
    align-items: center; 
    justify-content: center;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
  }
  
  .thumbnail-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
  }
  
  .thumbnail-remove-btn {
    position: absolute;
    top: 2px; right: 2px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 0.7rem;
    cursor: pointer;
    opacity: 0.8;
  }
  .thumbnail-remove-btn:hover {
    opacity: 1;
    background: rgba(0,0,0,0.8);
  }

  .submit-btn {
    position: relative;
    width: 200px; /* fixe Breite für ein schönes Fortschritts-Design */
    overflow: hidden;
  }
  .progress-fill {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 0%;
    background: limegreen;
    z-index: 1;
    transition: width 0.1s; /* für smooth Animation */
  }
  .submit-btn span {
    position: relative;
    z-index: 2;
    color: #fff; /* damit Text erkennbar bleibt */
  }