body { 
	font-family: "Microsoft YaHei", Arial, sans-serif; 
	margin: 0;
	padding: 20px;
	background-color: #f0e6e4;
	color: #2c3e50;
}
.container { 
	max-width: 1200px; 
	margin: 0 auto;
	background-color: #f7eeec;
	padding: 25px;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(149, 157, 165, 0.15);
}
.header { 
	margin-bottom: 25px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e5d6d3;
	text-align: center;
}
.header h1 {
	margin: 0;
	color: #8d5b5b;
	font-weight: normal;
	font-size: 26px;
}
.nav { 
	margin-bottom: 30px;
	background-color: #e9d8d6;
	padding: 12px;
	border-radius: 8px;
	text-align: center;
}
.nav a { 
	display: inline-block;
	margin: 0 8px;
	color: #a15353;
	text-decoration: none;
	padding: 6px 14px;
	border-radius: 6px;
	transition: all 0.3s ease;
}
.nav a:hover {
	background-color: #e2cac7;
	color: #8d4242;
}
.calendar-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	padding: 0 10px;
}
.calendar-title {
	font-size: 20px;
	color: #8d5b5b;
	font-weight: 500;
}
.calendar-nav {
	display: flex;
	gap: 10px;
}
.calendar-nav a {
	color: #8d5b5b;
	text-decoration: none;
	padding: 6px 12px;
	border-radius: 4px;
	transition: all 0.3s ease;
}
.calendar-nav a:hover {
	background-color: #e2cac7;
}
.calendar {
	width: 100%;
	border-collapse: collapse;
	background-color: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(149, 157, 165, 0.1);
}
.calendar th {
	background-color: #e9d8d6;
	color: #8d5b5b;
	padding: 12px;
	text-align: center;
	font-weight: 500;
	border-bottom: 1px solid #e5d6d3;
	width: 14.28%;
}
.calendar td {
	padding: 8px;
	border: 2px solid #e5d6d3;
	height: 100px;
	vertical-align: top;
	background-color: #fff;
	position: relative;
	cursor: pointer;
	transition: all 0.3s ease;
}
.calendar td:hover {
	background-color: #fcf8f7;
}
.calendar td.today {
	background-color: #fcf8f7;
}
.calendar td.empty {
	background-color: #92929230;
}
.calendar td.has-events {
	background-color: #f7eeec;
}
.calendar td.has-events:hover {
	background-color: #f0e6e4;
}
.day-number {
	font-size: 14px;
	color: #8d5b5b;
	margin-bottom: 4px;
	font-weight: 500;
}
.event-time {
	font-size: 12px;
	color: #8d5b5b;
	margin-bottom: 4px;
	font-weight: 500;
}
.event-tooltip {
	display: none;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	background-color: #fff;
	border: 1px solid #e5d6d3;
	border-radius: 4px;
	padding: 8px;
	z-index: 1000;
	min-width: 200px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	margin-top: 5px;
}
.calendar td:hover .event-tooltip {
	display: block;
}
.event-tooltip::before {
	content: "";
	position: absolute;
	top: -6px;
	left: 50%;
	transform: translateX(-50%);
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-bottom: 6px solid #fff;
}
.event-list {
	font-size: 12px;
	line-height: 1.4;
	margin-top: 4px;
}
.event-item {
	margin-bottom: 4px;
	padding: 6px;
	border-radius: 4px;
	background-color: #fff;
	border: 1px solid #e5d6d3;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
}
.event-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	z-index: 1;
}
.event-time {
	font-size: 12px;
	color: #8d5b5b;
	margin-bottom: 4px;
	font-weight: 500;
}
.event-location {
	font-size: 12px;
	color: #8d5b5b;
	margin-bottom: 4px;
}
.location-type {
	font-size: 11px;
	padding: 2px 6px;
	border-radius: 3px;
	display: inline-block;
}
.type-0 { 
	background-color: #f8f0f5;
	color: #9b6b8b;
}
.type-1 { 
	background-color: #fef0f0;
	color: #c85858;
}
.type-2 { 
	background-color: #fff5f0;
	color: #d17048;
}
.type-3 { 
	background-color: #f8f0f5;
	color: #8d5b5b;
}
.event-actions {
	display: flex;
	gap: 4px;
	margin-top: 4px;
}
.event-actions a {
	font-size: 11px;
	color: #8d5b5b;
	text-decoration: none;
	padding: 1px 4px;
	border-radius: 2px;
	transition: all 0.3s ease;
}
.event-actions a:hover {
	background-color: #e2cac7;
}
.event-actions a.edit {
	color: #8d5b5b;
}
.event-actions a.delete {
	color: #c85858;
}
.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.4);
}

.modal-content {
	background-color: #fff;
	margin: 15% auto;
	padding: 20px;
	border: 1px solid #e5d6d3;
	width: 80%;
	max-width: 500px;
	border-radius: 8px;
	position: relative;
}

.close {
	color: #8d5b5b;
	float: right;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
	line-height: 1;
}

.close:hover {
	color: #a15353;
}

.detail-row {
	margin-bottom: 8px;
}

.detail-row strong {
	color: #8d5b5b;
	margin-right: 8px;
}

.detail-actions {
	margin-top: 20px;
	padding-top: 15px;
	border-top: 1px solid #e5d6d3;
	display: flex;
	gap: 10px;
}

.detail-actions button {
	padding: 8px 16px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.detail-actions button:first-child {
	background-color: #e9d8d6;
	color: #8d5b5b;
}

.detail-actions button:last-child {
	background-color: #ffe6e6;
	color: #c85858;
}

.detail-actions button:hover {
	opacity: 0.9;
}
.event-card {
	background-color: #fff;
	border: 1px solid #e5d6d3;
	border-radius: 8px;
	padding: 8px;
	margin-bottom: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
}
.event-card:hover {
	background-color: #fcf8f7;
	border-color: #c79595;
	transform: translateY(-2px);
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.event-card .event-time-row {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 4px;
	line-height: 1;
}
.event-card .event-time {
	color: #8d5b5b;
	font-size: 12px;
	font-weight: 500;
	flex-shrink: 0;
}
.event-card .event-link {
	flex-shrink: 0;
}
.event-card .event-link a {
	color: #8d5b5b;
	text-decoration: none;
	font-size: 12px;
	padding: 2px 6px;
	border: 1px solid #8d5b5b;
	border-radius: 4px;
	transition: all 0.3s ease;
	display: inline-block;
	white-space: nowrap;
	line-height: 1;
	vertical-align: baseline;
}
.event-card .event-link a:hover {
	background-color: #8d5b5b;
	color: #fff;
}
.event-card .event-location {
	color: #2c3e50;
	font-size: 12px;
	margin-bottom: 4px;
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
}
.event-card .location-type {
	font-size: 11px;
	padding: 2px 6px;
	border-radius: 3px;
	background-color: #f7f7f7;
}
.event-card .event-hosts {
	color: #8d5b5b;
	font-size: 11px;
	margin-top: 4px;
	line-height: 1.4;
}

.event-card .host-type-0 .host-name { color: #c85858; }  /* 更深的红色 */
.event-card .host-type-0 .host-nickname { color: #9b6b8b; }  /* 更深的紫红色 */
.event-card .host-type-1 .host-name { color: #a078dd; }  /* 紫色 */
.event-card .host-type-1 .host-nickname { color: #a078dd; }  /* 紫色 */
.login-form {
	max-width: 400px;
	margin: 0 auto;
	padding: 20px;
}
.form-group {
	margin-bottom: 15px;
}
.form-group label {
	display: block;
	margin-bottom: 5px;
	color: #8d5b5b;
}
.form-group input {
	width: 100%;
	padding: 8px;
	border: 1px solid #e5d6d3;
	border-radius: 4px;
	font-size: 14px;
}
.btn {
	background-color: #e9d8d6;
	color: #8d5b5b;
	border: none;
	padding: 8px 16px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	transition: all 0.3s ease;
}
.btn:hover {
	background-color: #e2cac7;
}
/* 时间输入相关样式 */
.time-input-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #8d5b5b;
    font-size: 14px;
    white-space: nowrap;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.time-input-group .form-control {
    width: 150px;
}

/* 链接相关样式 */
.event .event-link {
    text-align: left;
    margin-bottom: 4px;
}

.event .event-link a {
    color: #8d5b5b;
    text-decoration: none;
    font-size: 13px;
    padding: 2px 8px;
    border: 1px solid #8d5b5b;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
}

.event .event-link a:hover {
    background-color: #8d5b5b;
    color: #fff;
}

/* 备注相关样式 */
.event-remark {
    color: #8d5b5b;
    font-size: 13px;
    line-height: 1.5;
}

.event .event-remark {
    margin-top: 0;
    flex-grow: 1;
}

.event-icon.has-link::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 6px;
    height: 6px;
    background-color: #c85858;
    border-radius: 50%;
}

.event-location .event-link {
    display: inline-block;
    text-decoration: none;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    color: inherit;
    border: 1px solid currentColor;
    line-height: 1;
    vertical-align: baseline;
}

.event-location .event-link:hover {
    background-color: currentColor;
    color: #fff;
}

/* 事件卡片中的备注样式 */
.event-card .event-remark {
    font-size: 12px;
    color: #8d5b5b;
    margin-top: 4px;
    line-height: 1.4;
    font-style: italic;
}

.event .info-group {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-grow: 1;
}

.event .hosts,
.event .event-link,
.event .event-remark {
    margin: 0;
}

.detail-row .event-link {
    display: inline-block;
    text-decoration: none;
    font-size: 13px;
    padding: 2px 8px;
    border: 1px solid #8d5b5b;
    border-radius: 4px;
    transition: all 0.3s ease;
    color: #8d5b5b;
    margin-left: 4px;
}

.detail-row .event-link:hover {
    background-color: #8d5b5b;
    color: #fff;
}

.event-grid .event {
    position: relative;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

.event-grid .event-date {
    color: #8d5b5b;
    font-size: 14px;
    margin-bottom: 8px;
}

.event-grid .event-location {
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-grid .hosts {
    color: #8d5b5b;
    font-size: 13px;
    margin-bottom: 8px;
}

.event-grid .event-remark {
    color: #8d5b5b;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.event-grid .event-link {
    position: absolute;
    bottom: 15px;
    right: 15px;
}

.event-grid .event-link a {
    color: #8d5b5b;
    text-decoration: none;
    font-size: 13px;
    padding: 2px 8px;
    border: 1px solid #8d5b5b;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.event-grid .event-link a:hover {
    background-color: #8d5b5b;
    color: #fff;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding: 20px 0;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid #e5d6d3;
    border-radius: 6px;
    background-color: #f7eeec;
    color: #8d5b5b;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.page-link:hover {
    background-color: #e9d8d6;
    border-color: #c79595;
    color: #8d4242;
}

.page-link.current {
    background-color: #e9d8d6;
    border-color: #c79595;
    color: #8d4242;
    cursor: default;
}

.page-ellipsis {
    color: #8d5b5b;
    padding: 0 4px;
}
