/* ==========================================================================
   BRAT Diet Care - Contact Page Styles
   ========================================================================== */

.brat-contact-page {
	min-height: 100vh;
	background-color: #fbf9f4;
	color: #1c1917;
	font-family: inherit;
	transition: background-color 0.2s ease, color 0.2s ease;
}
html.dark .brat-contact-page {
	background-color: #0d1513;
	color: #f5f5f4;
}

/* Header */
.brat-contact-topbar {
	position: relative;
	z-index: 20;
	border-bottom: 1px solid rgba(231, 229, 228, 0.8);
	background: rgba(251, 249, 244, 0.95);
	backdrop-filter: blur(12px);
}
html.dark .brat-contact-topbar {
	border-bottom-color: rgba(38, 38, 38, 0.8);
	background: rgba(13, 21, 19, 0.95);
}
.brat-contact-topbar__inner {
	max-width: 1024px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 24px;
	gap: 16px;
}
.brat-contact-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: inherit;
	user-select: none;
}
.brat-contact-brand-title {
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.2;
}
.brat-contact-brand-badge {
	font-size: 10px;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 0.08em;
	padding: 2px 6px;
	border-radius: 4px;
	background: #d1fae5;
	color: #065f46;
	margin-left: 6px;
}
html.dark .brat-contact-brand-badge {
	background: #064e3b;
	color: #a7f3d0;
}
.brat-contact-brand-sub {
	font-size: 11px;
	font-weight: 500;
	color: #78716c;
	margin: 0;
	line-height: 1.2;
}
html.dark .brat-contact-brand-sub {
	color: #a8a29e;
}
.brat-back-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 600;
	border-radius: 9999px;
	border: 1px solid #a7f3d0;
	background: #ecfdf5;
	color: #065f46;
	text-decoration: none;
	transition: all 0.2s ease;
	box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.brat-back-btn:hover {
	background: #d1fae5;
	color: #047857;
}
html.dark .brat-back-btn {
	border-color: #065f46;
	background: rgba(6, 78, 59, 0.4);
	color: #a7f3d0;
}
html.dark .brat-back-btn:hover {
	background: rgba(6, 78, 59, 0.7);
}

/* Main Container */
.brat-contact-main {
	max-width: 960px;
	margin: 0 auto;
	padding: 40px 20px 80px;
}
.brat-contact-hero {
	text-align: center;
	margin-bottom: 40px;
}
.brat-contact-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: 9999px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border: 1px solid #a7f3d0;
	background: #ecfdf5;
	color: #065f46;
}
html.dark .brat-contact-pill {
	border-color: #065f46;
	background: rgba(6, 78, 59, 0.35);
	color: #6ee7b7;
}
.brat-contact-hero h1 {
	margin: 16px 0 0;
	font-size: 38px;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.15;
	color: #1c1917;
}
html.dark .brat-contact-hero h1 {
	color: #fafaf9;
}
.brat-contact-hero p {
	margin: 12px auto 0;
	max-width: 580px;
	font-size: 15px;
	line-height: 1.6;
	color: #57534e;
}
html.dark .brat-contact-hero p {
	color: #a8a29e;
}

/* Responsive 2-Column Grid */
.brat-contact-grid {
	display: grid;
	grid-template-columns: 2fr 3fr;
	gap: 28px;
	align-items: start;
}
@media (max-width: 820px) {
	.brat-contact-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

/* Info Cards */
.brat-notice-card {
	background: #fffbeb;
	border: 1.5px solid #fde68a;
	border-radius: 20px;
	padding: 22px;
	box-shadow: 0 4px 16px -2px rgba(217, 119, 6, 0.08);
	margin-bottom: 20px;
}
html.dark .brat-notice-card {
	background: rgba(69, 44, 15, 0.4);
	border-color: #784a14;
	box-shadow: none;
}
.brat-notice-card__head {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 700;
	color: #92400e;
}
html.dark .brat-notice-card__head {
	color: #fde68a;
}
.brat-notice-card__body {
	margin: 10px 0 0;
	font-size: 12px;
	line-height: 1.6;
	color: #78350f;
}
html.dark .brat-notice-card__body {
	color: #fef3c7;
}

.brat-support-card {
	background: #ffffff;
	border: 1px solid #e7e5e4;
	border-radius: 20px;
	padding: 24px;
	box-shadow: 0 4px 18px -2px rgba(0, 0, 0, 0.04);
}
html.dark .brat-support-card {
	background: #141f1c;
	border-color: #23332d;
	box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.4);
}
.brat-support-item {
	margin-bottom: 18px;
}
.brat-support-item:last-child {
	margin-bottom: 0;
}
.brat-support-label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #78716c;
	margin-bottom: 4px;
}
html.dark .brat-support-label {
	color: #a8a29e;
}
.brat-support-value {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: #1c1917;
}
html.dark .brat-support-value {
	color: #f5f5f4;
}
.brat-support-link {
	color: #059669;
	text-decoration: none;
	word-break: break-all;
	transition: color 0.15s ease;
}
.brat-support-link:hover {
	color: #047857;
	text-decoration: underline;
}
html.dark .brat-support-link {
	color: #34d399;
}
html.dark .brat-support-link:hover {
	color: #6ee7b7;
}

/* Form Card */
.brat-form-card {
	background: #ffffff;
	border: 1px solid #e7e5e4;
	border-radius: 24px;
	padding: 32px 36px;
	box-shadow: 0 4px 24px -2px rgba(0, 0, 0, 0.05);
}
html.dark .brat-form-card {
	background: #141f1c;
	border-color: #23332d;
	box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.4);
}
@media (max-width: 640px) {
	.brat-form-card {
		padding: 24px 20px;
	}
}
.brat-form-title {
	margin: 0;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #1c1917;
}
html.dark .brat-form-title {
	color: #fafaf9;
}
.brat-form-subtitle {
	margin: 6px 0 24px;
	font-size: 13px;
	color: #78716c;
}
html.dark .brat-form-subtitle {
	color: #a8a29e;
}

/* Form Inputs */
.brat-form-field {
	margin-bottom: 20px;
}
.brat-form-label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: #292524;
	margin-bottom: 7px;
}
html.dark .brat-form-label {
	color: #e7e5e4;
}
.brat-form-req {
	color: #f43f5e;
	font-weight: 700;
}
.brat-form-input,
.brat-form-select,
.brat-form-textarea {
	display: block;
	width: 100%;
	box-sizing: border-box;
	background: #fbf9f4;
	border: 1.5px solid #e7e5e4;
	border-radius: 14px;
	padding: 12px 16px;
	font-size: 14px;
	line-height: 1.5;
	color: #1c1917;
	font-family: inherit;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
html.dark .brat-form-input,
html.dark .brat-form-select,
html.dark .brat-form-textarea {
	background-color: #0d1513;
	border-color: #2a3a34;
	color: #f5f5f4;
}
.brat-form-input:focus,
.brat-form-select:focus,
.brat-form-textarea:focus {
	outline: none;
	border-color: #059669;
	box-shadow: 0 0 0 3.5px rgba(5, 150, 105, 0.2);
	background-color: #ffffff;
}
html.dark .brat-form-input:focus,
html.dark .brat-form-select:focus,
html.dark .brat-form-textarea:focus {
	background-color: #101a18;
	border-color: #10b981;
	box-shadow: 0 0 0 3.5px rgba(16, 185, 129, 0.25);
}
.brat-form-select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%2378716c' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
	background-position: right 14px center;
	background-repeat: no-repeat;
	background-size: 18px 18px;
	padding-right: 42px;
	cursor: pointer;
}
html.dark .brat-form-select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%23a8a29e' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
	background-position: right 14px center;
	background-repeat: no-repeat;
	background-size: 18px 18px;
}
.brat-form-textarea {
	resize: vertical;
	min-height: 120px;
}

/* Consent Checkbox */
.brat-consent-wrap {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 6px 0 24px;
}
.brat-consent-checkbox {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: #059669;
	cursor: pointer;
	flex-shrink: 0;
}
.brat-consent-label {
	font-size: 12px;
	line-height: 1.5;
	color: #78716c;
	cursor: pointer;
}
html.dark .brat-consent-label {
	color: #a8a29e;
}

/* Submit Button */
.brat-form-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: linear-gradient(135deg, #059669 0%, #047857 100%);
	color: #ffffff;
	font-weight: 700;
	font-size: 14px;
	padding: 14px 28px;
	border-radius: 14px;
	border: none;
	cursor: pointer;
	box-shadow: 0 8px 18px -4px rgba(4, 120, 87, 0.35);
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.brat-form-btn:hover {
	transform: translateY(-1px);
	background: linear-gradient(135deg, #047857 0%, #065f46 100%);
	box-shadow: 0 12px 24px -4px rgba(4, 120, 87, 0.45);
}
.brat-form-btn:active {
	transform: translateY(0);
}
@media (max-width: 640px) {
	.brat-form-btn {
		width: 100%;
	}
}

/* Banners */
.brat-alert-success {
	background: #ecfdf5;
	border: 1.5px solid #a7f3d0;
	border-radius: 16px;
	padding: 14px 18px;
	font-size: 13px;
	font-weight: 600;
	color: #065f46;
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
}
html.dark .brat-alert-success {
	background: rgba(6, 78, 59, 0.35);
	border-color: #065f46;
	color: #a7f3d0;
}
.brat-alert-error {
	background: #fff1f2;
	border: 1.5px solid #fecdd3;
	border-radius: 16px;
	padding: 14px 18px;
	font-size: 13px;
	font-weight: 600;
	color: #9f1239;
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
}
html.dark .brat-alert-error {
	background: rgba(136, 19, 55, 0.35);
	border-color: #881337;
	color: #fecdd3;
}
.brat-alert-badge {
	width: 24px;
	height: 24px;
	border-radius: 9999px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 12px;
	font-weight: 700;
	color: #ffffff;
}
.brat-alert-badge--success {
	background: #059669;
}
.brat-alert-badge--error {
	background: #e11d48;
}

/* Footer */
.brat-contact-foot {
	border-top: 1px solid rgba(231, 229, 228, 0.8);
	background: rgba(255, 255, 255, 0.6);
	padding: 24px 16px;
	text-align: center;
}
html.dark .brat-contact-foot {
	border-top-color: rgba(38, 38, 38, 0.8);
	background: rgba(20, 31, 28, 0.6);
}
.brat-contact-foot-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 8px;
}
.brat-contact-foot-nav a {
	color: #57534e;
	text-decoration: none;
	transition: color 0.15s ease;
}
.brat-contact-foot-nav a:hover {
	color: #059669;
}
html.dark .brat-contact-foot-nav a {
	color: #a8a29e;
}
html.dark .brat-contact-foot-nav a:hover {
	color: #34d399;
}
.brat-contact-foot-nav a.brat-active {
	color: #059669;
	text-decoration: underline;
	text-underline-offset: 4px;
}
html.dark .brat-contact-foot-nav a.brat-active {
	color: #34d399;
}
.brat-contact-foot-line {
	margin: 4px 0 0;
	font-size: 11px;
	color: #78716c;
}
html.dark .brat-contact-foot-line {
	color: #78716c;
}
