/*The main wrapper*/
#fep-wrapper {
	margin: 5px;
	position: relative;
}

/*Header styling*/
#fep-header {
	border: 1px solid #e7e7e7;
	/* color: #000000; */
	width: 100%;
}

#fep-header strong {
	/* color: #333333; */
	font-size: 20px;
}

#fep-header .avatar {
	border: none;
	display: inline-block;
	margin: 5px;
	padding: 0;
	vertical-align: top;
}

/*Content styling*/
#fep-content {
	/* color: #000000; */
	border: 1px solid #e7e7e7;
	height: auto;
	margin-bottom: 10px;
	margin-top: 10px;
	overflow: auto;
	padding: 5px;
	width: 100%;
}

#fep-content p, #fep-content form {
	margin: 5px;
}

#fep-content hr {
	margin-bottom: 5px;
	margin-top: 5px;
}

#fep-content a {
	/* color: navy; */
	text-decoration: underline;
}

#fep-content .avatar {
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
}

/*Footer styling*/
#fep-footer {
	border: 1px solid #e7e7e7;
	/* color: #333333; */
	font-size: 10px;
	text-align: center;
	width: 100%;
}

#fep-footer a,
#fep-footer a:hover,
#fep-footer a:visited {
	/* color: #333333; */
	text-decoration: underline;
}

/*Auto-suggest*/
#fep-result {
	background: #d3eef5;
	border: solid 1px #333333;
	display: none;
	position: absolute;
	width: 250px;
}

#fep-result ul,
#fep-result li {
	border: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

#fep-result li {
	border-top: solid 1px #333333;
}

#fep-result li a {
	color: #333333;
	display: block;
	font-weight: normal;
	padding: 5px;
	text-decoration: none;
}

#fep-result li a:hover {
	background: #333333;
	color: white;
}

.fep-table {
	border-collapse: collapse;
	display: table;
	width: 100%;
}

.fep-table > div {
	display: table-row;
}

.fep-table > div > div {
	display: table-cell;
}

.fep-table .fep-table-caption {
	display: table-caption;
	font-weight: bold;
	text-align: center;
}

.fep-action-table {
	margin-bottom: 10px;
}

.fep-action-table > div > div {
	width: 25%;
}

.fep-action-table select {
	margin-top: 10px;
}

.fep-table .fep-column-avatar,
.fep-table .fep-column-fep-cb {
	padding-right: 10px;
	vertical-align: middle;
}

.fep-table .fep-column-author,
.fep-table .fep-column-date {
	min-width: 150px;
}

.fep-table .fep-message-date {
	display:block;
	font-size: 70%;
}

.fep-table .fep-message-excerpt {
	opacity:0.3;
}

.fep-unread-classp {
	position:relative; 
}

.fep-unread-class {
	background-color: red; /* you could use a background image if you'd like as well */
	border-radius: 30px;
	box-shadow: 1px 1px 1px gray;
	color: white;
	font-size: 9px;
	font-weight: bold;
	height: 16px;
	line-height: 16px;
	padding: 0 1px;
	position: absolute; /* This breaks the div from the normal HTML document. */
	top: -6px;
}

.fep-message-toggle-all {
	cursor: pointer;
}

.fep-align-left {
	text-align: left;
}

.fep-align-right {
	text-align: right;
}

.fep-align-centre {
	text-align: center;
}

.fep-hd {
	display:none;
}

.fep-strong {
	font-weight: bold;
}

.fep-pagination {
	display: inline-block;
	padding-left: 0;
	margin: 20px 0;
	border-radius: 6px;
}

.fep-pagination > li {
	display: inline;
}

.fep-pagination > li > a,
.fep-pagination > li > span {
	background-color: #ffffff;
	border: 1px solid #dddddd;
	color: #337ab7;
	float: left;
	font-size: 12px;
	line-height: 1.42857143;
	margin-left: -1px;
	padding: 7px 12px;
	position: relative;
	text-decoration: none;
}

.fep-pagination > li:first-child > a,
.fep-pagination > li:first-child > span {
	margin-left: 0;
	border-bottom-left-radius: 3px;
	border-top-left-radius: 3px;
}

.fep-pagination > li:last-child > a,
.fep-pagination > li:last-child > span {
	border-bottom-right-radius: 3px;
	border-top-right-radius: 3px;
}

.fep-pagination > li > a:hover,
.fep-pagination > li > span:hover,
.fep-pagination > li > a:focus,
.fep-pagination >li > span:focus {
	background-color: #eeeeee;
	border-color: #dddddd;
	color: #23527c;
}

.fep-pagination > .active > a,
.fep-pagination > .active > span,
.fep-pagination > .active > a:hover,
.fep-pagination > .active > span:hover,
.fep-pagination > .active > a:focus,
.fep-pagination > .active > span:focus {
	background-color: #337ab7;
	border-color: #337ab7;
	color: #ffffff;
	cursor: default;
	z-index: 2;
}

.fep-pagination > .disabled > span,
.fep-pagination > .disabled > span:hover,
.fep-pagination > .disabled > span:focus,
.fep-pagination > .disabled > a,
.fep-pagination > .disabled > a:hover,
.fep-pagination > .disabled > a:focus {
	background-color: #ffffff;
	border-color: #dddddd;
	color: #777777;
	cursor: not-allowed;
}

#fep-message-top.fep-loading-gif,
.fep-loading-gif {
	background: url('../images/loading.gif') no-repeat right center;
	padding-right: 16px;
}

.fep-message .fep-message-title-heading,
.fep-per-message .fep-message-title {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	/* background-color: #f2f7fc; */
	border-radius: 10px;
	border: 1px solid #e7e7e7;
	box-sizing: border-box;
	font-weight: bold;
	margin-bottom: 5px;
	padding: 10px;
	width: 100%;
}

.fep-message .fep-message-title-heading {
	font-size: 20px;
}

.fep-message .fep-message-title-heading .fep_block_unblock_user {
	font-size: 16px;
	font-weight: normal;
}

.fep-per-message .fep-message-title {
	cursor: pointer;
	font-size: 16px;
}

.fep-per-message {
	border: 1px solid #e7e7e7;
	margin: 5px;
	padding: 5px;
}

.fep-per-message .fep-message-title .date {
	font-size: 12px;
	font-weight: normal;
	padding-left: 10px;
	text-align: right;
}

.fep-per-message .fep-message-title {
	display: flex;
	justify-content: space-between;
}

.fep-avatar-p {
	height: 60px;
	position: relative;
}

.fep-avatar-p-120 {
	min-width: 120px;
}

.fep-avatar-p-90 {
	min-width: 90px;
}

.fep-avatar-p .fep-avatar-1,
.fep-avatar-p .fep-avatar-2,
.fep-avatar-more-60,
.fep-avatar-group-60 {
	height: 60px;
	width: 60px;
}

.fep-avatar-p .fep-avatar-2 {
	left: 30px;
	position: absolute;
	top: 0;
}

.fep-avatar-more-60 {
	background: url('../images/avatar-more-60.png') no-repeat 0 0;
}

.fep-avatar-group-60 {
	background: url('../images/avatar-group-60.png') no-repeat 0 0;
}

.fep-avatar-p .fep-avatar-more-60 {
	left: 60px;
	position: absolute;
	top: 0;
}

.fep-attachments {
	border-top:1px solid #e7e7e7;
	padding: 5px;
	margin-top: 15px;
}

.fep-attachments-heading {
	font-size: 18px;
	font-weight: bold;
}

.fep-attachment-icon {
	background: transparent url('../images/attachment-icons.png') no-repeat;
	margin-right: 4px;
	height: 16px;
	width: 16px;
	display: inline-block;
}

.fep-attachment-icon.fep-attachment-icon-default {
	background-position: 0 0;
}

.fep-attachment-icon.fep-attachment-icon-generic {
	background-position: 0 -16px;
}
/* need in php */
.fep-attachment-icon.fep-attachment-icon-code {
	background-position: 0 -32px;
}

.fep-attachment-icon.fep-attachment-icon-xml {
	background-position: 0 -48px;
}

.fep-attachment-icon.fep-attachment-icon-excel {
	background-position: 0 -64px;
}

.fep-attachment-icon.fep-attachment-icon-word {
	background-position: 0 -80px;
}

.fep-attachment-icon.fep-attachment-icon-image {
	background-position: 0 -96px;
}

.fep-attachment-icon.fep-attachment-icon-psd {
	background-position: 0 -112px;
}

.fep-attachment-icon.fep-attachment-icon-ai {
	background-position: 0 -128px;
}

.fep-attachment-icon.fep-attachment-icon-archive {
	background-position: 0 -144px;
}

.fep-attachment-icon.fep-attachment-icon-text {
	background-position: 0 -160px;
}

.fep-attachment-icon.fep-attachment-icon-powerpoint {
	background-position: 0 -176px;
}

.fep-attachment-icon.fep-attachment-icon-pdf {
	background-position: 0 -192px;
}

.fep-attachment-icon.fep-attachment-icon-html {
	background-position: 0 -208px;
}

.fep-attachment-icon.fep-attachment-icon-video {
	background-position: 0 -224px;
}

.fep-attachment-icon.fep-attachment-icon-documents {
	background-position: 0 -240px;
}

.fep-attachment-icon.fep-attachment-icon-audio {
	background-position: 0 -256px;
}

.fep-attachment-icon.fep-attachment-icon-icon {
	background-position: 0 -272px;
}

#fep-menu-toggle-button {
	display: none;
}
#fep-menu-toggle-button:after {
	content: '+';
	float: right;
	margin-left: 5px;
	font-size: 24px;
	font-weight: bold;
}
#fep-menu-toggle-button.fep-menu-toggle-expanded:after {
	content: '-';
}

.fep-loader {
	cursor: wait;
	background:#ffffff url('../images/loading.gif') no-repeat center center;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
	filter: alpha(opacity=75);
	opacity: 0.75;
	position: absolute;
	z-index: 9999;
	display: none;
}

#fep-content-single {
	display: flex;
}
#fep-content-single #fep-content-single-sidebar {
	padding: 5px;
	flex: 20%;
	min-width: 150px;
}
#fep-content-single #fep-content-single-main {
	width: 100%;
}
.fep-message-head {
	cursor: pointer;
}
.fep-filter-heads-div {
	margin-top: 5px;
	margin-bottom: 10px;
}

#fep-content-single-heads .fep-message-head-active {
	border-radius: 0px 30px 30px 0px;
}

#fep-content-single-heads .fep-error {
	background-color: #ffebe8;
	border-color: #c00;
}

/* 统一消息样式 - 适用于电脑端和移动端 */
#fep-content .fep-announcement,
#fep-content .fep-announcement-mobile {
    background: transparent;
    padding: 0;
    margin: 0;
}

#fep-content .fep-per-message,
#fep-content .fep-per-message-mobile {
    margin: 0 0 16px 0;
    padding: 0;
}

#fep-content .message-container,
#fep-content .message-container-mobile {
    background: linear-gradient(to right, #f8f9fa, #ffffff);
    padding: 20px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

#fep-content .fep-announcement-title,
#fep-content .fep-announcement-title-mobile {
    font-size: 17px;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.4;
    margin: 0;
    padding-bottom: 3px;
    position: relative;
    display: block;
}

#fep-content .fep-announcement-title:after,
#fep-content .fep-announcement-title-mobile:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #3498db, transparent);
}

#fep-content .date,
#fep-content .date-mobile {
    font-size: 13px;
    color: #666;
    font-weight: normal;
    display: flex;
    align-items: center;
    margin: 8px 0;
    padding: 4px 8px;
    background: rgba(52, 152, 219, 0.05);
    border-radius: 4px;
}

#fep-content .date span,
#fep-content .date-mobile span {
    margin-right: 6px;
    color: #666;
}

#fep-content .fep-announcement-content,
#fep-content .fep-announcement-content-mobile {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    word-break: break-word;
    margin: 12px 0 0 0;
    padding: 12px 0 0 0;
    border-top: 1px solid #e9ecef;
}

#fep-content .fep-announcement-content p,
#fep-content .fep-announcement-content-mobile p {
    margin: 0 0 8px 0;
}

#fep-content .fep-announcement-content p:last-child,
#fep-content .fep-announcement-content-mobile p:last-child {
    margin-bottom: 0;
}

#fep-content .fep-announcement-content a,
#fep-content .fep-announcement-content-mobile a {
    color: #3498db;
    text-decoration: none;
    padding: 2px 6px;
    border-radius: 3px;
    background: rgba(52, 152, 219, 0.1);
    transition: all 0.2s ease;
}

#fep-content .fep-announcement-content a:hover,
#fep-content .fep-announcement-content-mobile a:hover {
    background: rgba(52, 152, 219, 0.2);
    color: #2980b9;
}

#fep-content .fep-announcement-content span[style*="color: red"],
#fep-content .fep-announcement-content-mobile span[style*="color: red"] {
    color: #e74c3c !important;
    background: rgba(231, 76, 60, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-block;
    margin: 2px 0;
}

#fep-content .fep-announcement-content span[style*="color: #639"],
#fep-content .fep-announcement-content-mobile span[style*="color: #639"] {
    color: #9b59b6 !important;
    background: rgba(155, 89, 182, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-block;
    margin: 2px 0;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    #fep-content .message-container,
    #fep-content .message-container-mobile {
        padding: 15px;
        border-radius: 6px;
    }

    #fep-content .fep-announcement-title,
    #fep-content .fep-announcement-title-mobile {
        font-size: 16px;
    }

    #fep-content .date,
    #fep-content .date-mobile {
        font-size: 12px;
        padding: 3px 6px;
    }

    #fep-content .date span,
    #fep-content .date-mobile span {
        margin-right: 4px;
    }

    #fep-content .fep-announcement-content,
    #fep-content .fep-announcement-content-mobile {
        margin: 10px 0 0 0;
        padding: 10px 0 0 0;
    }
}

/* 电脑端特定样式 */
@media screen and (min-width: 769px) {
    #fep-content .message-container {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    #fep-content .message-container:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    }

    #fep-content .fep-announcement-title {
        font-size: 16px;
    }

    #fep-content .date {
        font-size: 13px;
    }

    #fep-content .fep-announcement-content {
        font-size: 14px;
        line-height: 1.7;
    }
}

/* 增强消息列表样式 */
.fep-table-row {
	transition: background-color 0.3s ease;
}

.fep-message-title {
	color: #2c3e50;
	font-weight: 600;
}

.fep-message-date {
	color: #7f8c8d;
	font-size: 13px;
}

/* 未读消息样式增强 */
.fep-unread-class {
	background-color: #e74c3c;
	color: white;
	padding: 2px 8px;
	border-radius: 10px;
	font-size: 12px;
	font-weight: bold;
	box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* 搜索框样式优化 */
.fep-messagebox-search-form-field {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 5px;
	margin-bottom: 15px;
	font-size: 14px;
}

/* 分页样式优化 */
.fep-pagination {
	margin: 20px 0;
	text-align: center;
}

.fep-pagination > li > a,
.fep-pagination > li > span {
	padding: 8px 15px;
	border-radius: 4px;
	margin: 0 5px;
}

/* 管理员阅读回执的样式 */
.fep-read-receipt-individual {
    color: #0066cc; /* 使用蓝色来区分管理员 */
}

@media screen and (max-width: 480px) {
	.fep-table .fep-column-avatar {
		display: none;
	}

	.fep-action-table,
	.fep-action-table > div,
	.fep-action-table > div > div {
		display: block;
	}
	
	.fep-action-table > div > div {
		width: 100%;
	}
	
	#fep-menu .fep-button,
	.fep-button,
	.fep-button-active {
		width: 100%;
	}
	.fep-menu-toggle {
		display: none;
	}
	#fep-menu-toggle-button {
		display: block;
	}
	#fep-content-single #fep-content-single-sidebar {
		display: none;
	}
}

/* 头部样式统一 - 适用于电脑端和移动端 */
#fep-header.fep-table {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 25px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

#fep-header.fep-table:hover {
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

#fep-header.fep-table > div {
    display: block;
    width: 100%;
}

#fep-header .fep-header-welcome {
    margin-bottom: 16px;
    position: relative;
    padding-left: 10px;
    border-left: 4px solid #3498db;
}

#fep-header .fep-header-welcome strong {
    color: #1a2a3a;
    font-size: 20px;
    font-weight: 700;
    display: inline-block;
    position: relative;
    padding-bottom: 5px;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 1px rgba(255,255,255,0.8);
}

#fep-header .fep-header-welcome strong:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #3498db 30%, transparent 100%);
    border-radius: 2px;
}

#fep-header .fep-header-unread-text {
    color: #555;
    font-size: 15px;
    margin-bottom: 16px;
    line-height: 1.6;
    padding: 8px 12px;
    background-color: rgba(240, 240, 240, 0.5);
    border-radius: 8px;
    border-left: 3px solid #3498db;
}

#fep-header .fep-header-unread-text span {
    color: #e74c3c;
    font-weight: 600;
    margin: 0 5px;
    padding: 3px 8px;
    background: rgba(231, 76, 60, 0.12);
    border-radius: 6px;
    display: inline-block;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

#fep-header .fep-header-unread-text span:hover {
    background: rgba(231, 76, 60, 0.18);
    transform: translateY(-1px);
}

#fep-header .fep-header-box-size {
    border-top: 1px solid #eaeef2;
    padding-top: 16px;
    margin-top: 16px;
    position: relative;
}

#fep-header .fep-header-box-size:before {
    content: "提示";
    position: absolute;
    top: -10px;
    left: 15px;
    background: #fff;
    padding: 0 10px;
    font-size: 12px;
    color: #95a5a6;
}

#fep-header .fep-header-box-size strong {
    color: #34495e !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.7;
    display: block;
    padding: 12px 16px;
    background: rgba(52, 152, 219, 0.07);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02) inset;
    border-left: 3px solid #2ecc71;
    transition: all 0.3s ease;
}

#fep-header .fep-header-box-size strong:hover {
    background: rgba(52, 152, 219, 0.1);
    padding-left: 18px;
}

/* 移动端特定调整 */
@media screen and (max-width: 768px) {
    #fep-header.fep-table {
        padding: 18px;
        margin-bottom: 20px;
        border-radius: 8px;
    }

    #fep-header .fep-header-welcome {
        padding-left: 8px;
        border-left: 3px solid #3498db;
    }

    #fep-header .fep-header-welcome strong {
        font-size: 18px;
    }

    #fep-header .fep-header-unread-text {
        font-size: 14px;
        padding: 6px 10px;
    }

    #fep-header .fep-header-box-size:before {
        left: 10px;
    }

    #fep-header .fep-header-box-size strong {
        font-size: 13px !important;
        padding: 10px 12px;
    }
}

/* Hide "To:" label for non-admin users */
.fep-form-field-fep_pro_to .fep-label {
    display: none;
}

/* Show "To:" label for admin users */
body.administrator .fep-form-field-fep_pro_to .fep-label {
    display: block;
}

/* Hide recipient input box for non-admin users */
.fep_pro_to_div#fep_mr_to_div {
    display: none;
}

/* Show recipient input box for admin users */
body.administrator .fep_pro_to_div#fep_mr_to_div {
    display: block;
}

/* 消息内容区域美化 - 与头部样式保持一致 */
#fep-content {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

#fep-content:hover {
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

/* 移除多余的框，保留内容样式 */
#fep-content .fep-message {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin-bottom: 20px;
}

#fep-content .fep-message:hover {
    box-shadow: none;
    transform: none;
}

#fep-content .fep-message-header {
    margin-bottom: 16px;
    border-bottom: 1px solid #eaeef2;
    padding-bottom: 16px;
}

#fep-content .fep-message-title {
    color: #1a2a3a;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 1px rgba(255,255,255,0.8);
    position: relative;
    padding-left: 10px;
    border-left: 4px solid #3498db;
    line-height: 1.4;
}

#fep-content .fep-message-participants {
    color: #555;
    font-size: 14px;
    margin-top: 8px;
    padding: 6px 10px;
    background-color: rgba(240, 240, 240, 0.5);
    border-radius: 6px;
    border-left: 3px solid #3498db;
}

#fep-content .fep-message-participants a {
    color: #3498db;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 2px 5px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 4px;
}

#fep-content .fep-message-participants a:hover {
    background: rgba(52, 152, 219, 0.2);
    color: #2980b9;
}

/* 单条消息美化 */
#fep-content .fep-per-message {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    overflow: hidden;
}

#fep-content .fep-per-message:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.06);
}

/* 管理员消息特殊样式 */
#fep-content .fep-per-message-admin {
    border-left: 4px solid #2ecc71;
}

/* 当前用户消息特殊样式 */
#fep-content .fep-per-message-own:not(.fep-per-message-admin) {
    border-left: 4px solid #3498db;
}

/* 消息标题栏样式 */
#fep-content .fep-per-message .fep-message-title {
    background: linear-gradient(to right, #f8f9fa, #ffffff);
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: none;
}

#fep-content .fep-per-message .fep-message-title:hover {
    background: linear-gradient(to right, #f2f2f2, #fafafa);
}

#fep-content .fep-per-message .author {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #34495e;
}

#fep-content .fep-per-message .author img {
    margin-right: 10px;
    border-radius: 50%;
    border: 2px solid rgba(52, 152, 219, 0.2);
}

#fep-content .fep-per-message-admin .author {
    color: #27ae60;
}

#fep-content .fep-per-message .date {
    color: #7f8c8d;
    font-size: 13px;
    font-weight: normal;
}

/* 消息内容样式 */
#fep-content .fep-message-content {
    padding: 16px;
    color: #333;
    line-height: 1.6;
    font-size: 14px;
}

#fep-content .fep-message-content p {
    margin: 0 0 12px 0;
}

#fep-content .fep-message-content p:last-child {
    margin-bottom: 0;
}

#fep-content .fep-message-content hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 15px 0;
}

/* 阅读回执样式 */
#fep-content .fep-read-receipt {
    font-size: 12px;
    color: #95a5a6;
    padding: 8px 0 0 0;
    text-align: right;
}

#fep-content .fep-read-receipt-individual {
    display: inline-block;
    padding: 3px 8px;
    background: rgba(52, 152, 219, 0.05);
    border-radius: 4px;
    transition: all 0.2s ease;
}

#fep-content .fep-read-receipt-individual:hover {
    background: rgba(52, 152, 219, 0.1);
}

/* 回复表单美化 */
#fep-content .fep-reply-form {
    background: transparent;
    border-top: 1px solid #e9ecef;
    border-radius: 0;
    padding: 20px 0 0 0;
    box-shadow: none;
    margin-top: 20px;
}

#fep-content .fep-form-field {
    margin-bottom: 16px;
}

#fep-content .fep-label label {
    display: block;
    color: #34495e;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 15px;
}

#fep-content .fep-label .required {
    color: #e74c3c;
}

#fep-content .front-end-pm-form .fep-button {
    background: linear-gradient(to right, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
}

#fep-content .front-end-pm-form .fep-button:hover {
    background: linear-gradient(to right, #2980b9, #3498db);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 附件上传区域 */
#fep-content #fep_upload {
    margin-bottom: 10px;
}

#fep-content .fep-attachment-field-div {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

#fep-content .fep-attachment-field-input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#fep-content .fep-attachment-field-a {
    color: #e74c3c;
    text-decoration: none;
    margin-left: 10px;
    font-size: 13px;
    padding: 3px 8px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 4px;
    transition: all 0.2s ease;
}

#fep-content .fep-attachment-field-a:hover {
    background: rgba(231, 76, 60, 0.2);
}

#fep-content #fep-attachment-field-add {
    display: inline-block;
    color: #3498db;
    text-decoration: none;
    padding: 5px 10px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 14px;
}

#fep-content #fep-attachment-field-add:hover {
    background: rgba(52, 152, 219, 0.2);
}

/* 进度条样式 */
#fep-content .fep-progress-bar {
    height: 6px;
    border-radius: 3px;
    background: #f0f0f0;
    margin: 15px 0;
    overflow: hidden;
}

#fep-content .fep-progress-bar-inner {
    height: 100%;
    background: linear-gradient(to right, #3498db, #2ecc71);
    width: 0;
    transition: width 0.3s ease;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    #fep-content {
        padding: 15px;
        border-radius: 8px;
    }
    
    #fep-content .fep-message,
    #fep-content .fep-reply-form {
        padding: 0;
    }
    
    #fep-content .fep-message-title {
        font-size: 18px;
        padding-left: 8px;
        border-left: 3px solid #3498db;
    }
    
    #fep-content .fep-message-participants {
        font-size: 13px;
        padding: 5px 8px;
    }
    
    #fep-content .fep-per-message .fep-message-title {
        padding: 10px 12px;
    }
    
    #fep-content .fep-message-content {
        padding: 12px;
    }
    
    #fep-content .front-end-pm-form .fep-button {
        width: 100%;
    }
}
