/* ===============================
   GLOBAL
================================ */
body {
    background: radial-gradient(circle at top, #1e2a38, #0b0f14);
    color: #eaeaea;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===============================
   NAVBAR
================================ */
.navbar {
    background: rgba(15, 20, 30, 0.95);
    backdrop-filter: blur(8px);
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* ===============================
   HERO
================================ */
.hero {
    padding: 5rem 1rem 4rem;
}

.hero h1 {
    font-weight: 800;
    letter-spacing: 0.5px;
}

.hero p {
    color: #b5c2d0;
    margin-top: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===============================
   BUTTONS
================================ */
.btn-primary {
    background: linear-gradient(135deg, #4da3ff, #1f6fff);
    border: none;
    box-shadow: 0 8px 25px rgba(77,163,255,.35);
}

.btn-outline-light {
    border-color: #5a6a7f;
    color: #dce3ec;
}

/* ===============================
   CONVOY CARDS
================================ */
.convoy-card {
    background: linear-gradient(180deg, #141c26, #0f151d);
    border: 1px solid #1f2a38;
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 12px 30px rgba(0,0,0,.35);
    transition: transform .2s ease, box-shadow .2s ease;
    height: 100%;
}

.convoy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,.5);
}

.convoy-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}

.convoy-meta {
    font-size: .9rem;
    color: #9fb0c5;
}

.badge-route {
    background: #233245;
    border-radius: 999px;
    padding: .35rem .75rem;
    font-size: .8rem;
}

/* ===============================
   FOOTER
================================ */
footer {
    color: #7f8ea3;
    font-size: .85rem;
    padding: 2rem 0 1rem;
    text-align: center;
}
/* ===============================
   ZENTRIERUNG FÜR SEITENINHALT
================================ */
.main-center {
    min-height: calc(100vh - 70px); /* Navbar-Höhe abziehen */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

/* ===============================
   FORM-CARD (Login / Register etc.)
================================ */
.auth-card {
    background: linear-gradient(180deg, #141c26, #0f151d);
    border: 1px solid #1f2a38;
    border-radius: 16px;
    padding: 2rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 50px rgba(0,0,0,.45);
}
.navbar img {
    object-fit: cover;
    border: 2px solid rgba(255,255,255,.35);
}
/* ===========================
   CONVOY CREATE FORM (DARK)
   =========================== */

.convoy-form-card {
    width: 100%;
    max-width: 420px;
    background: linear-gradient(180deg, #141c26, #0f151d);
    border: 1px solid #1f2a38;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0,0,0,.45);
    color: #eaeaea;
}

/* Labels */
.convoy-form-card .form-label {
    font-size: 0.9rem;
    color: #b8c4d4;
}

/* Dark Inputs */
.dark-input {
    background-color: #0e141c !important;
    border: 1px solid #243246 !important;
    color: #eaeaea !important;
    border-radius: 8px;
    padding: 10px 12px;
}

.dark-input:focus {
    background-color: #0e141c;
    color: #fff;
    border-color: #4da3ff;
    box-shadow: 0 0 0 0.15rem rgba(77,163,255,.25);
}

/* Date Picker Icon sichtbar machen */
.dark-input::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.8;
}

/* Button Feinschliff */
.convoy-form-card .btn-primary {
    border-radius: 10px;
    font-weight: 600;
}
/* ===== Auth Pages (Login / Register / Forgot) ===== */

.auth-wrapper {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card {
  background: linear-gradient(180deg, #141c26, #0f151d);
  border: 1px solid #1f2a38;
  border-radius: 16px;
  padding: 2rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
}

.auth-card h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.auth-card label {
  color: #b8c6d8;
  font-size: .9rem;
}

.auth-card .form-control {
  background: #0b0f14;
  border: 1px solid #223044;
  color: #eaeaea;
}

.auth-card .form-control:focus {
  background: #0b0f14;
  border-color: #4da3ff;
  box-shadow: 0 0 0 .15rem rgba(77,163,255,.25);
  color: #fff;
}

.auth-card .btn-primary {
  margin-top: .5rem;
}

.auth-card a {
  color: #4da3ff;
  text-decoration: none;
}

.auth-card a:hover {
  text-decoration: underline;
}
.auth-card img {
    background: #0b0f14;
}


/* ===============================
   CONVOY GRID
=============================== */

.convoy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* ===============================
   CONVOY CARD (GROSS & MODERN)
=============================== */

.convoy-card {
    background: linear-gradient(180deg, #141c26, #0f151d);
    border: 1px solid #1f2a38;
    border-radius: 16px;
    padding: 1.75rem;
    min-height: 240px;

    box-shadow: 0 12px 35px rgba(0,0,0,.45);
    transition: transform .25s ease, box-shadow .25s ease;
}

.convoy-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 55px rgba(0,0,0,.65);
}

/* Titel größer */
.convoy-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: .75rem;
}

/* Route Badge */
.badge-route {
    display: inline-block;
    background: #1f2e42;
    color: #cfe2ff;
    border-radius: 999px;
    padding: .45rem .9rem;
    font-size: .9rem;
    margin-bottom: 1rem;
}

/* Meta Infos */
.convoy-meta {
    font-size: .95rem;
    color: #b4c3d6;
    line-height: 1.5;
    margin-bottom: .75rem;
}

/* Ersteller */
.convoy-creator {
    font-size: .85rem;
    color: #8fa3bd;
    margin-top: auto;
}

/* Button */
.convoy-card .btn {
    margin-top: 1rem;
}
.profile-card {
    background: linear-gradient(180deg, #141c26, #0f151d);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 15px 40px rgba(0,0,0,.45);
}

.profile-avatar {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #4da3ff;
}

.profile-banner {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 20px;
}

.profile-link {
    display: inline-block;
    margin-right: 12px;
    color: #9fb0c5;
    text-decoration: none;
}

.profile-link:hover {
    color: #4da3ff;
}
/* =========================================================
   YOUTUBE STYLE PROFIL – FINAL
   ========================================================= */

.yt-profile {
    background: #0f0f0f;
    min-height: 100vh;
    color: #fff;
}

/* ===== BANNER ===== */
.yt-banner {
    height: 240px;
    overflow: hidden;
}

.yt-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== HEADER ===== */
.yt-profile-header {
    display: flex;
    align-items: flex-end;
    gap: 25px;
    padding: 20px 40px;
    margin-top: -70px; /* ÜBERLAPPUNG */
    background: linear-gradient(to bottom, #181818, #0f0f0f);
    border-bottom: 1px solid #222;
}

/* ===== AVATAR ===== */
.yt-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 5px solid #181818;
    background: #0f0f0f;
    object-fit: cover;
}

/* ===== USER INFO ===== */
.yt-user-info h1 {
    margin: 0;
    font-size: 28px;
    font-weight: bold;
}

.yt-subtext {
    color: #aaa;
    font-size: 14px;
    margin-top: 4px;
}

/* ===== SOCIALS ===== */
.yt-socials {
    margin-top: 10px;
}

.yt-socials a {
    margin-right: 15px;
    color: #3ea6ff;
    text-decoration: none;
    font-weight: 500;
}

.yt-socials a:hover {
    text-decoration: underline;
}

/* ===== ACTIONS ===== */
.yt-profile-actions {
    margin-left: auto;
}

.yt-btn {
    padding: 10px 18px;
    border-radius: 20px;
    border: 1px solid #aaa;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.yt-btn:hover {
    background: #303030;
}

/* ===== TABS ===== */
.yt-tabs {
    display: flex;
    gap: 30px;
    padding: 15px 40px;
    background: #181818;
    border-top: 1px solid #333;
}

.yt-tabs span {
    cursor: pointer;
    color: #aaa;
    padding-bottom: 8px;
}

.yt-tabs span.active {
    color: #fff;
    border-bottom: 2px solid #fff;
}

/* ===== CONTENT ===== */
.yt-content {
    padding: 40px;
}

.yt-placeholder {
    color: #aaa;
    font-size: 16px;
}
/* =========================
   PROFILSEITE
========================= */

.profile-tabs {
    display: flex;
    gap: 30px;
    padding: 20px 30px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.profile-tab {
    background: none;
    border: none;
    color: #9fb3c8;
    font-size: 1rem;
    padding-bottom: 12px;
    cursor: pointer;
    position: relative;
}

.profile-tab.active {
    color: #ffffff;
    font-weight: 600;
}

.profile-tab.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #3b82f6;
}

/* CONTENT */
.profile-content {
    padding: 30px;
    max-width: 900px;
    margin: 0 auto;
}

/* BOX */
.profile-box {
    background: rgba(255,255,255,0.04);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.profile-box h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
}

/* STATS */
.profile-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 20px;
    min-width: 160px;
    text-align: center;
}

.stat-value {
    font-size: 1.6rem;
    font-weight: bold;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: #9fb3c8;
}
/* ===== PROFILE TABS ===== */
.profile-tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.profile-tab {
    background: none;
    border: none;
    color: #aaa;
    font-size: 16px;
    cursor: pointer;
    padding-bottom: 5px;
}

.profile-tab.active {
    color: #fff;
    border-bottom: 2px solid #4da3ff;
}

.profile-tab-content {
    display: none;
    margin-top: 30px;
}

.profile-tab-content.active {
    display: block;
}



/* ===============================
   SOCIAL ICONS
=============================== */

.profile-socials {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 22px;
    color: #fff;
    background: #1f2a38;
    transition: transform .2s ease, box-shadow .2s ease;
}

.social-icon:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,.6);
}

/* Farben */
.social-icon.steam {
    background: linear-gradient(135deg, #2a475e, #1b2838);
}

.social-icon.twitch {
    background: linear-gradient(135deg, #9146ff, #6441a5);
}

.social-icon.truckersmp {
    background: linear-gradient(135deg, #ff9800, #ff5722);
    font-size: 20px;
}

.upload-preview {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.preview-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #415a77;
}

.preview-banner {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #415a77;
}



