/* ==================================================
 * ROADMAP – EIGENE FARBVARIABLEN
 * ================================================== */

.roadmap-entry {
    color: var(--rm-text-on-dark);
}

.roadmap-entry-title {
    color: #ffffff;
}

.roadmap-entry-short,
.roadmap-entry-footer {
    color: #bfbfbf;
}
.roadmap-comments svg {
  width: 20px;
  height: 20px;
}

/* ==================================================
 * ROADMAP – GRUNDLAYOUT
 * ================================================== */

.roadmap-year {
    display: flex;
    flex-direction: column;
    gap: 44px;
    margin-bottom: 60px;
}

/* 3 Monate pro Reihe */
.roadmap-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* ==================================================
 * MONATSKARTEN
 * ================================================== */

.roadmap-month {
    background: var(--rm-bg-month);
    border-radius: 14px;

	border: 2px solid var(--border1);
	margin-top:3px;
    padding: 20px 18px 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.roadmap-month h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.15em;
    font-weight: 600;
    letter-spacing: 0.05em;
	border-bottom: 2px solid var(--akzentfarbe);
    color: var(--rm-text-main);
}

/* ==================================================
 * ENTRIES
 * ================================================== */

.roadmap-entry {
    background: var(--rm-bg-entry);
    border-radius: 12px;
    padding: 14px 14px 12px 18px;
    margin-bottom: 14px;
    position: relative;
}

.roadmap-entry:last-child {
    margin-bottom: 0;
}

.roadmap-entry-title {
    font-weight: 600;
    font-size: 0.95em;
    margin-bottom: 6px;
    color: var(--rm-text-main);
}

.roadmap-entry-short {
    font-size: 0.9em;
    line-height: 1.5;
    color: var(--rm-text-soft);
}

/* ==================================================
 * STATUS-LEISTE (LINKER RAND)
 * ================================================== */

.roadmap-entry::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 4px;
    border-radius: 4px;
}

.roadmap-entry.status-done::before {
    background: var(--rm-status-done);
}

.roadmap-entry.status-in_progress::before {
    background: var(--rm-status-progress);
}

.roadmap-entry.status-paused::before {
    background: var(--rm-status-paused);
}

.roadmap-entry.status-cancelled::before {
    background: var(--rm-status-cancelled);
}

/* ==================================================
 * PRIORITÄT
 * ================================================== */

.roadmap-prio {
    float: right;
    background: var(--rm-accent-soft);
    color: var(--rm-text-main);
    padding: 4px 7px;
    margin: -6px -6px 0 0;
    font-size: 11px;
    border-radius: 6px;
    cursor: help;
    position: relative;
}

.roadmap-prio::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: 135%;
    transform: translateX(-85%);
    background: var(--border1);
    color: var(--s3);
    padding: 10px 12px;
    border-radius: 10px;
    width: 260px;
    font-size: 13px;
    line-height: 1.45;
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
    z-index: 1000;
}

.roadmap-prio:hover::after {
    opacity: 1;
}

/* ==================================================
 * ENTRY FOOTER
 * ================================================== */

.roadmap-entry-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    font-size: 13px;
    color: var(--rm-text-soft);
}

.roadmap-admin-actions {
    font-size: 12px;
}

/* ==================================================
 * REAKTIONEN
 * ================================================== */

.roadmap-reactions {
    display: flex;
    gap: 8px;
}

.roadmap-reaction-add {
    font-weight: bold;
    cursor: pointer;
}

.roadmap-reaction {
    cursor: pointer;
    position: relative;
}

.roadmap-reaction .reaction-remove {
    margin-left: 4px;
    color: var(--rm-status-cancelled);
}

/* ==================================================
 * YEAR NAVIGATION
 * ================================================== */

.roadmap-yearnav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    margin-bottom: 36px;
}

.roadmap-yearnav-link {
    text-decoration: none;
    font-weight: 500;
    color: var(--rm-text-soft);
    padding: 6px 12px;
    border-radius: 8px;
}

.roadmap-yearnav-link:hover {
    background: var(--rm-accent-soft);
}

.roadmap-yearnav-current {
    font-size: 1.45em;
    font-weight: 700;
    color: var(--rm-accent);
    padding: 6px 20px;
    border-radius: 10px;
    background: var(--rm-accent-soft);
}

/* ==================================================
 * ADMIN BUTTON
 * ================================================== */

.roadmap-admin-button {
    display: inline-block;
    padding: 10px 20px;
    background: var(--rm-accent);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    margin-bottom: 18px;
    font-weight: 600;
}

.roadmap-admin-button:hover {
    filter: brightness(0.92);
	background:var(--akzentfarbe);
}

/* ==================================================
 * DETAIL & KOMMENTARE
 * ================================================== */

.roadmap-detail {
    padding: 24px 50px 100px;
    line-height: 1.65;
    color: var(--rm-text-main);
}

.roadmap-description {
    background: var(--rm-bg-month);
    padding: 22px;
    border-radius: 14px;
}

.roadmap-comments-page {
    padding: 12px 50px;
}

.roadmap-comment {
    background: var(--rm-bg-month);
    padding: 14px 20px;
    margin-top: 10px;
    border-radius: 12px;
}

/* ==================================================
 * ADMIN FORMULAR
 * ================================================== */

.roadmap-form {
    max-width: 720px;
    margin: 0 auto;
    padding: 28px;
    background: var(--rm-bg-month);
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.roadmap-form label {
    font-weight: 600;
    margin-top: 18px;
    display: block;
    color: var(--rm-text-main);
}

.roadmap-form input,
.roadmap-form select,
.roadmap-form textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid var(--b3);
    margin-top: 6px;
}

.roadmap-form textarea {
    min-height: 140px;
}

.roadmap-form input[type="submit"] {
    margin-top: 26px;
    padding: 12px 26px;
    background: var(--rm-accent);
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    border-radius: 10px;
    cursor: pointer;
}

.roadmap-form input[type="submit"]:hover {
    filter: brightness(0.92);
}

