h1 {
    color: darkblue;
    font-size: 60;
}

h5 {
    color: darkblue;
    font-size: 35;
    text-align: center;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f4f4f4;
    color: #000;
    padding: 20px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: max(20px, calc((100vw - 800px) / 2));
    padding-right: max(20px, calc((100vw - 800px) / 2));
    position: relative;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    position: absolute;
    right: 20px;
}

.thumbnail {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.title-container {
	align-items: center;
	padding-bottom: 40px;
	width: 100%;
}
.note {
	color: gray;
}

/* Flash messages */
.flash-msg {
    text-align: center;
    transition: opacity 0.3s ease;
}
.flash-success {
    color: green;
}
.flash-error {
    color: red;
}

/* Flash boxes (login page) */
.flash-box {
    padding: 10px;
    margin-bottom: 16px;
    border-radius: 4px;
}
.flash-box-error {
    background: #fee2e2;
    color: #991b1b;
}
.flash-box-success {
    background: #d1fae5;
    color: #065f46;
}

body {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #f4f4f4;
	font-family: Arial, Helvetica, sans-serif;
	margin: 0;
	padding: 20px;
}
.layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%; /* Adjust width as needed */
    max-width: 800px; /* Adjust max width as needed */
}


.blog-posts {
    background-color: #f4f4f4;
    border-radius: 8px;
    width: 80%; /* Adjust width as needed */
    max-width: 800px; /* Adjust max width as needed */
}

.blog-posts article {
    margin-bottom: 10px; /* Add margin to the bottom of each article */
    padding: 10px; /* Optional: add padding inside each article */
    border: 1px solid #ccc; /* Optional: add border to each article */
    border-radius: 5px; /* Optional: add border radius */
    background-color: #f4f4f4; /* Optional: add background color */
}

.blog-posts article h2 {
	font-size: 16px;
}
.blog-posts article h3 {
	font-size: 14px;
}

.blog-posts article p {
	font-size: 12px;
}

.blog-posts article a {
	font-size: 12px;
}

#subscribeForm {
	max-width: 500px;
	margin: 0 auto;
	font-family: Arial, sans-serif;
	align-items: center;
	padding-top: 40px;
	padding-bottom: 80px;
}
.form-group-email {
	display: flex;
	margin-bottom: 15px;
	gap: 15px;
}
.form-group-postal-code {
	width: 150px;
	margin-bottom: 15px;
}
label {
	display: block;
	margin-bottom: 5px;
}
.form-control {
	width: 100%;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
}
.btn-subscribe {
	background-color: #4CAF50;
	color: white;
	border: none;
	padding: 10px 20px;
	border-radius: 4px;
	cursor: pointer;
	float: right;
	height: 40px;
}

.content-container {
	font-size: 0.9rem;
	line-height: 1.6;
}

.contact-link {
    color: #007bff;
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Login link in header */
.login-link {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
}

.login-link:hover {
    text-decoration: underline;
}

.container {
	max-width: 900px;
	margin: 0 auto;
	padding: 2rem 1rem;
}

.meetings-grid {
	display: grid;
	gap: 1.5rem;
}

.meeting-card {
	background: white;
	border-radius: 0.5rem;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	padding: 1.5rem;
	position: relative;
}

.meeting-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 1rem;
}

.meeting-title {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--gray-700);
}

.subscribe-btn {
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
	color: var(--gray-500);
	transition: color 0.2s;
}

.subscribe-btn:hover {
	color: var(--primary-color);
}

.subscribe-btn.subscribed {
	color: var(--primary-color);
}

.meeting-details {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
	margin-bottom: 1rem;
}

.detail-item {
	display: flex;
	flex-direction: column;
}

.detail-label {
	font-size: 0.875rem;
	color: var(--gray-500);
	margin-bottom: 0.25rem;
}

.detail-value {
	color: var(--gray-700);
}

.location {
	grid-column: span 2;
}

.subscribe-status {
	font-size: 0.875rem;
	color: var(--primary-color);
	margin-top: 1rem;
	display: none;
}

.subscribed ~ .subscribe-status {
	display: block;
}

.flash-message {
	padding: 1rem;
	margin-bottom: 1rem;
	border-radius: 0.5rem;
	background-color: #dbeafe;
	color: #1e40af;
}

.flash-error {
	background-color: #fee2e2;
	color: #991b1b;
}

@media (max-width: 640px) {
	.container {
		padding: 1rem;
	}

	h1 {
		font-size: 1.5rem;
	}

	.meeting-details {
		grid-template-columns: 1fr;
	}

	.location {
		grid-column: span 1;
	}
}

.summary-link {
    color: #2563eb;  /* blue color */
    text-decoration: none;
}

.summary-link:hover {
    text-decoration: underline;
}

.summary-not-done {
    color: #dc2626;  /* red color */
}

/* === Plan Selection Page === */
.plan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 640px;
    margin: 0 auto;
    padding: 0 16px 40px;
}

.plan-card {
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 28px 24px;
    text-align: center;
    position: relative;
    background: white;
}

.plan-card-premium {
    border-color: #4CAF50;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.15);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #4CAF50;
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.plan-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
    color: #333;
}

.plan-price {
    font-size: 36px;
    font-weight: bold;
    color: #111;
    margin: 0 0 16px;
}

.plan-price span {
    font-size: 16px;
    color: #666;
    font-weight: normal;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    text-align: left;
}

.plan-features li {
    padding: 6px 0;
    font-size: 14px;
    color: #555;
}

.plan-features li::before {
    content: "\2713";
    color: #4CAF50;
    margin-right: 8px;
    font-weight: bold;
}

.btn-plan {
    display: block;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-plan-free {
    background: #f3f4f6;
    color: #333;
}

.btn-plan-free:hover {
    background: #e5e7eb;
}

.btn-plan-premium {
    background: #4CAF50;
    color: white;
}

.btn-plan-premium:hover {
    background: #45a049;
}

@media (max-width: 500px) {
    .plan-grid {
        grid-template-columns: 1fr;
    }
}