/* Büro Veggies — Mein Abo (Self-Service) */
:root {
	--bv-mint:  #c7f2dc;
	--bv-green: #00CB86;
	--bv-orange:#f08b2c;
	--bv-red:   #c33;
	--bv-border:#e5e5e5;
}

.bv-mein-abo { max-width: 1000px; margin: 0 auto; font-family: inherit; color: #1b1b1b; font-size: 16px; line-height: 1.5; }
.bv-mein-abo [x-cloak] { display: none !important; }

.bv-mein-abo__header { margin-bottom: 28px; padding: 16px 0 20px; border-bottom: 1px solid var(--bv-border); }
.bv-mein-abo__header h2 { color: var(--bv-green); margin: 0 0 8px; font-size: 30px; line-height: 1.15; }
.bv-mein-abo__header p { margin: 0 0 6px; color: #555; font-size: 15px; }
.bv-ma-logout { font-size: 13px; color: #888; text-decoration: underline; }
.bv-ma-logout:hover { color: var(--bv-green); }

.bv-ma-empty { background: var(--bv-mint); padding: 28px; border-radius: 14px; text-align: center; font-size: 16px; }
.bv-ma-card {
	background: #fff;
	border: 1px solid var(--bv-border);
	border-radius: 16px;
	padding: 32px 32px 28px;
	margin-bottom: 28px;
	box-shadow: 0 8px 32px rgba(0, 203, 134, .08);
}

.bv-ma-card__header {
	display: flex; justify-content: space-between; align-items: flex-start;
	flex-wrap: wrap; gap: 16px;
	padding-bottom: 24px;
	margin-bottom: 8px;
}
.bv-ma-card__header h3 { margin: 0 0 10px; color: var(--bv-green); font-size: 24px; line-height: 1.2; }
.bv-ma-status {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 13px; font-weight: 600;
	padding: 5px 12px; border-radius: 999px;
	background: #eaf8f0; color: var(--bv-green);
}
.bv-ma-total { text-align: right; }
.bv-ma-total strong { display: block; font-size: 28px; color: var(--bv-green); line-height: 1.1; }
.bv-ma-total small { color: #888; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }

.bv-ma-tabs nav {
	display: flex; flex-wrap: wrap; gap: 4px;
	border-bottom: 1px solid var(--bv-border); margin-bottom: 28px;
}
.bv-ma-tabs nav button {
	background: transparent; border: 0; padding: 16px 22px;
	font-family: inherit; font-size: 17px; font-weight: 700;
	color: #888; cursor: pointer;
	border-bottom: 3px solid transparent; margin-bottom: -1px;
	border-radius: 8px 8px 0 0; line-height: 1.3;
	transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.bv-ma-tabs nav button:hover { color: var(--bv-green); background: #f7fbf8; }
.bv-ma-tabs nav button.active { color: var(--bv-green); border-color: var(--bv-orange); background: transparent; }

.bv-ma-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.bv-ma-table th {
	text-align: left; padding: 12px 14px;
	font-size: 12px; font-weight: 700; color: #888;
	text-transform: uppercase; letter-spacing: .08em;
	border-bottom: 1px solid var(--bv-border);
}
.bv-ma-table td {
	padding: 16px 14px; border-bottom: 1px solid #f3f3f3;
	vertical-align: middle; font-size: 16px;
}
.bv-ma-table tbody tr:last-child td { border-bottom: 0; }
.bv-ma-table tbody tr:hover td { background: #fafbfa; }
.bv-ma-qty {
	width: 88px; padding: 10px 12px;
	border: 1px solid var(--bv-border); border-radius: 8px;
	text-align: right; font-family: inherit; font-size: 16px; font-weight: 600;
	background: #fafafa; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.bv-ma-qty:focus {
	outline: 0; border-color: var(--bv-green); background: #fff;
	box-shadow: 0 0 0 3px rgba(0, 203, 134, .12);
}

.bv-ma-row { display: grid; gap: 8px; margin-bottom: 20px; }
.bv-ma-row--2 { grid-template-columns: 1fr 1fr; }
.bv-ma-label { font-weight: 700; color: var(--bv-green); font-size: 14px; letter-spacing: .02em; }
.bv-ma-row select,
.bv-ma-row input[type=date],
.bv-mein-abo textarea {
	padding: 13px 16px; border: 1px solid var(--bv-border); border-radius: 8px;
	font-family: inherit; font-size: 16px; line-height: 1.4; width: 100%;
	background: #fafafa; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
	box-sizing: border-box;
	color: #1b1b1b;
}
.bv-ma-row select,
.bv-ma-row input[type=date] {
	height: 48px;
}
.bv-ma-row select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding-right: 44px;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%2300CB86' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/></svg>");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-color: #fafafa;
}
.bv-ma-row select:focus,
.bv-ma-row input[type=date]:focus,
.bv-mein-abo textarea:focus {
	outline: 0; border-color: var(--bv-green); background-color: #fff;
	box-shadow: 0 0 0 3px rgba(0, 203, 134, .12);
}
.bv-mein-abo textarea { resize: vertical; min-height: 90px; margin-bottom: 12px; }

.bv-ma-days { display: flex; flex-wrap: wrap; gap: 10px; }
.bv-ma-days label {
	display: flex; align-items: center; gap: 6px;
	padding: 6px 12px; background: #f4f4f4; border-radius: 16px; cursor: pointer;
}
.bv-ma-check { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }

.bv-ma-pause h4, .bv-ma-cancel h4 { color: var(--bv-green); margin: 0 0 10px; font-size: 20px; }
.bv-ma-pause p, .bv-ma-cancel p { color: #666; font-size: 15px; margin: 0 0 18px; line-height: 1.5; }

.bv-ma-pause-action {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	margin-top: 4px;
}
.bv-ma-pause-action .bv-btn {
	flex: 0 0 auto;
	margin: 0;
}
.bv-ma-pause-action .bv-ma-hint {
	flex: 1 1 240px;
	margin: 0;
	font-size: 14px;
	color: #888;
	line-height: 1.5;
}

.bv-ma-card__footer {
	display: flex; flex-direction: column; gap: 12px;
	margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--bv-border);
}
.bv-ma-card__footer .bv-btn--orange {
	width: 100%;
	padding: 18px 28px; font-size: 17px;
	transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
}
.bv-ma-card__footer .bv-btn--orange:hover:not(:disabled) {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(240, 139, 44, .25);
}

.bv-btn {
	display: inline-block; padding: 14px 26px;
	border-radius: 999px; border: 0; font-weight: 700; font-size: 17px;
	cursor: pointer; text-decoration: none; font-family: inherit;
	line-height: 1.2;
}
.bv-btn--orange { background: var(--bv-orange); color: #fff; }
.bv-btn--ghost  { background: transparent; color: var(--bv-green); border: 2px solid var(--bv-green); margin-left: 0; }
.bv-btn--danger { background: transparent; color: var(--bv-red); border: 2px solid var(--bv-red); }
.bv-btn--danger-solid { background: var(--bv-red); color: #fff; }
.bv-btn--danger-solid:hover:not(:disabled) { background: #b02a2a; }
.bv-btn:disabled { opacity: .6; cursor: wait; }

.bv-confirm {
	position: fixed; inset: 0; z-index: 9999;
	display: flex; align-items: center; justify-content: center;
	padding: 20px; font-family: inherit;
}
.bv-confirm__backdrop {
	position: absolute; inset: 0;
	background: rgba(27,27,27,.55);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
}
.bv-confirm__panel {
	position: relative;
	background: #fff;
	border-radius: 16px;
	padding: 32px 32px 28px;
	box-shadow: 0 20px 60px rgba(0,0,0,.25);
	max-width: 460px; width: 100%;
	animation: bv-confirm-in .18s ease-out;
	box-sizing: border-box;
}
.bv-confirm__title {
	color: var(--bv-green);
	margin: 0 0 12px;
	font-size: 22px;
	line-height: 1.25;
	font-weight: 700;
}
.bv-confirm__message {
	margin: 0 0 24px;
	font-size: 16px;
	color: #444;
	line-height: 1.55;
}
.bv-confirm__actions {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	flex-wrap: wrap;
}
.bv-confirm__actions .bv-btn {
	padding: 12px 22px;
	font-size: 15px;
}
@keyframes bv-confirm-in {
	from { opacity: 0; transform: translateY(8px) scale(.98); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}

.bv-success { background: #e8f7ed; color: var(--bv-green); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.bv-error { background: #fdecec; color: #a00; padding: 10px 14px; border-radius: 8px; }

.bv-not-logged-in { max-width: 460px; margin: 32px auto; }
.bv-login-card {
	background: #fff;
	border-radius: 16px;
	border: 1px solid var(--bv-border);
	padding: 32px 32px 28px;
	box-shadow: 0 8px 32px rgba(0, 203, 134, .08);
}
.bv-login-card h2 {
	color: var(--bv-green);
	margin: 0 0 10px;
	font-size: 28px;
	line-height: 1.2;
}
.bv-login-intro {
	color: #555;
	margin: 0 0 24px;
	font-size: 16px;
}
.bv-login-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.bv-login-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.bv-login-label {
	font-weight: 700;
	color: var(--bv-green);
	font-size: 14px;
	letter-spacing: .02em;
}
.bv-login-form input[type="text"],
.bv-login-form input[type="password"] {
	padding: 13px 16px;
	border: 1px solid var(--bv-border);
	border-radius: 8px;
	font-family: inherit;
	font-size: 16px;
	width: 100%;
	background: #fafafa;
	transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
	box-sizing: border-box;
}
.bv-login-form input[type="text"]:focus,
.bv-login-form input[type="password"]:focus {
	outline: 0;
	border-color: var(--bv-green);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(0, 203, 134, .12);
}
.bv-login-remember {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	color: #555;
	cursor: pointer;
	margin-top: 2px;
}
.bv-login-remember input[type="checkbox"] {
	width: 16px;
	height: 16px;
	accent-color: var(--bv-green);
	cursor: pointer;
}
.bv-login-submit {
	width: 100%;
	margin-top: 8px;
	padding: 18px 28px;
	font-size: 17px;
	transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
}
.bv-login-submit:hover:not(:disabled) {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(240, 139, 44, .25);
}
.bv-login-lost {
	text-align: center;
	margin: 4px 0 0;
	font-size: 14px;
}
.bv-login-lost a {
	color: #888;
	text-decoration: underline;
	text-decoration-color: rgba(0, 203, 134, .3);
	text-underline-offset: 3px;
}
.bv-login-lost a:hover { color: var(--bv-green); }

.bv-not-logged-in .bv-error { margin-bottom: 16px; }

@media (max-width: 520px) {
	.bv-login-card { padding: 24px 20px; border-radius: 12px; }
	.bv-login-card h2 { font-size: 22px; }
}
