/* jobrad Bewerbung */
.jrb-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.jrb-actions .sjl-apply-btn, .jrb-box .sjl-apply-btn { justify-content: center; text-align: center; white-space: normal; max-width: 100%; box-sizing: border-box; line-height: 1.3; }
.jrb-apply.is-busy { opacity: .7; pointer-events: none; }
.jrb-direct { font-size: 12.5px; color: rgba(255,255,255,.55); text-align: center; text-decoration: underline; text-underline-offset: 3px; }
.jrb-direct:hover { color: #fff; }

.jrb-box {
	background: #fff; border: 1px solid #E8E8EC; border-radius: 16px;
	padding: 20px 22px; margin-top: 14px;
	display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
}
.jrb-box-title { font-family: 'Fraunces', Georgia, serif; font-size: 16px; font-weight: 700; color: #1A1D2A; margin-bottom: 3px; }
.jrb-box-sub { font-size: 13px; color: #6B7280; max-width: 46ch; line-height: 1.45; }
.jrb-box-actions { display: flex; flex-direction: column; gap: 8px; min-width: min(100%, 260px); }
.jrb-box .jrb-direct { color: #6B7280; }
.jrb-box .jrb-direct:hover { color: #1A1D2A; }

/* Übernahme-Box */
.jrb-claim {
	display: flex; gap: 14px; align-items: flex-start;
	margin-top: 14px; padding: 18px 20px; border-radius: 16px;
	background: linear-gradient(135deg, rgba(224,21,21,.10), rgba(255,107,0,.08));
	border: 1px dashed rgba(255,107,0,.45); color: #fff;
}
.jrb-claim-ic { font-size: 26px; line-height: 1; flex-shrink: 0; }
.jrb-claim-body { min-width: 0; }
.jrb-claim-title { font-weight: 800; font-size: 15.5px; margin-bottom: 4px; }
.jrb-claim-text { font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.75); margin-bottom: 12px; }
.jrb-claim-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.jrb-claim-btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 10px 16px; border-radius: 10px; border: 0; cursor: pointer;
	background: linear-gradient(135deg, #E01515, #FF6B00); color: #fff !important;
	font: inherit; font-weight: 700; font-size: 14px; text-decoration: none;
}
.jrb-claim-link { font-size: 13px; color: #FF8C00 !important; text-decoration: underline; text-underline-offset: 3px; }

/* Bottom-Sheet */
html.jrb-lock, html.jrb-lock body { overflow: hidden; }
.jrb-sheet { position: fixed; inset: 0; z-index: 10050; }
.jrb-sheet__bg { position: absolute; inset: 0; background: rgba(6,8,14,.6); opacity: 0; transition: opacity .25s; }
.jrb-sheet.is-open .jrb-sheet__bg { opacity: 1; }
.jrb-sheet__panel {
	position: absolute; left: 0; right: 0; bottom: 0;
	max-height: 92vh; overflow-y: auto; overscroll-behavior: contain;
	background: #1F2335; color: #fff;
	border-radius: 22px 22px 0 0; border-top: 1px solid rgba(255,255,255,.08);
	box-shadow: 0 -20px 60px rgba(0,0,0,.45);
	padding: 14px 20px calc(22px + env(safe-area-inset-bottom));
	transform: translateY(100%); transition: transform .3s cubic-bezier(.22,.8,.28,1);
	outline: none; font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}
.jrb-sheet.is-open .jrb-sheet__panel { transform: translateY(0); }
@media (min-width: 640px) {
	.jrb-sheet__panel { left: 50%; right: auto; width: 520px; bottom: 50%; border-radius: 22px; transform: translate(-50%, 60%); opacity: 0; transition: transform .3s, opacity .2s; }
	.jrb-sheet.is-open .jrb-sheet__panel { transform: translate(-50%, 50%); opacity: 1; }
	.jrb-sheet__grip { display: none; }
}
.jrb-sheet__grip { width: 40px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.2); margin: 0 auto 10px; }
.jrb-sheet__x {
	position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 10px;
	background: rgba(255,255,255,.07); border: 0; color: #fff; font-size: 15px; cursor: pointer;
}
.jrb-sheet__ok {
	width: 48px; height: 48px; border-radius: 50%; margin: 6px auto 10px;
	display: flex; align-items: center; justify-content: center;
	background: rgba(29,158,106,.18); color: #3DDC97; font-size: 24px; font-weight: 800;
}
.jrb-sheet__title { font-family: 'Fraunces', Georgia, serif; font-size: 21px; font-weight: 700; text-align: center; margin: 0 0 4px; color: #fff; }
.jrb-sheet__sub { text-align: center; font-size: 13.5px; color: rgba(255,255,255,.55); margin: 0 0 18px; }
.jrb-sheet__label { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.35); margin: 0 2px 8px; }
.jrb-docs { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.jrb-doc {
	display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
	padding: 11px 14px; border-radius: 14px; cursor: pointer;
	background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
	color: #fff !important; text-decoration: none; font: inherit;
}
.jrb-doc:hover { background: rgba(255,255,255,.09); }
.jrb-doc--warn { border-color: rgba(255,140,0,.5); background: rgba(255,140,0,.08); }
.jrb-doc__ic { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.06); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.jrb-doc__t { display: flex; flex-direction: column; font-size: 14.5px; font-weight: 700; line-height: 1.3; min-width: 0; }
.jrb-doc__t small { font-size: 12px; font-weight: 500; color: rgba(255,255,255,.5); }
.jrb-go {
	display: flex; align-items: center; justify-content: center; text-align: center;
	min-height: 52px; padding: 12px 16px; border-radius: 14px;
	background: linear-gradient(135deg, #E01515, #FF6B00); color: #fff !important;
	font-weight: 800; font-size: 15.5px; text-decoration: none;
	box-shadow: 0 6px 18px rgba(224,21,21,.35);
}
.jrb-sheet__foot { font-size: 12.5px; color: rgba(255,255,255,.45); text-align: center; margin: 14px 0 0; line-height: 1.5; }
.jrb-sheet__foot a { color: #FF8C00; }

/* Liste „Meine Bewerbungen“ */
.jrb-empty { text-align: center; padding: 28px 16px; color: rgba(255,255,255,.55); background: rgba(255,255,255,.04); border-radius: 14px; line-height: 1.6; }
.jrb-empty a { color: #FF8C00; }
.jrb-list { display: flex; flex-direction: column; gap: 10px; }
.jrb-item {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
	background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
	border-radius: 14px; padding: 14px 52px 14px 16px; transition: opacity .2s;
	position: relative;
}
.jrb-item-main { flex: 1 1 220px; min-width: 0; }
.jrb-item-title { display: block; font-size: 14.5px; font-weight: 700; color: #fff !important; text-decoration: none; overflow-wrap: anywhere; }
.jrb-gone { font-weight: 500; color: rgba(255,255,255,.4); font-size: 12px; }
.jrb-item-meta { font-size: 12px; color: rgba(255,255,255,.45); margin-top: 2px; }
.jrb-item-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.jrb-status {
	appearance: none; -webkit-appearance: none; cursor: pointer;
	font: inherit; font-size: 12.5px; font-weight: 700;
	padding: 7px 28px 7px 12px; border-radius: 999px;
	border: 1px solid rgba(255,255,255,.15); color: #fff;
	background: rgba(255,255,255,.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23fff' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 11px center;
}
.jrb-status option { color: #1A1D2A; }
.jrb-status.jrb-s-beworben { border-color: rgba(99,102,241,.6); background-color: rgba(99,102,241,.18); }
.jrb-status.jrb-s-gespraech { border-color: rgba(255,140,0,.6); background-color: rgba(255,140,0,.16); }
.jrb-status.jrb-s-zusage { border-color: rgba(29,158,106,.7); background-color: rgba(29,158,106,.2); }
.jrb-status.jrb-s-absage { border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.5); }
.jrb-status.is-busy { opacity: .6; }
.jrb-status.is-err { border-color: #E01515; }
.jrb-mini { font-size: 12.5px; font-weight: 700; color: #FF8C00 !important; text-decoration: none; padding: 7px 4px; }
.jrb-remove { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 9px; border: 0; cursor: pointer; background: rgba(224,21,21,.15); color: #FF8888; font-size: 12px; }
@media (prefers-reduced-motion: reduce) { .jrb-sheet__panel, .jrb-sheet__bg { transition: none; } }
