/* 相册页面样式 */

/* 滑块控件样式 */
.image-count-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 20px;
}

.image-count-control label {
    font-size: 14px;
    color: #333;
    white-space: nowrap;
}

#image-count-value {
    font-weight: bold;
    color: #e1bb2b;
    min-width: 20px;
    display: inline-block;
}

#image-count-slider {
    width: 100px;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: #ddd;
    border-radius: 20px;
    outline: none;
}

#image-count-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #e1bb2b;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

#image-count-slider::-webkit-slider-thumb:hover {
    background: #d0aa27;
    transform: scale(1.1);
}

#image-count-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #e1bb2b;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

#image-count-slider::-moz-range-thumb:hover {
    background: #d0aa27;
    transform: scale(1.1);
}

/* 标题栏布局 */
.taoswin_title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0px;
    height: 46px;
    background-color: #f8f8f8;
    border-bottom: 1px solid #e8e8e8;
}

.taoswin_bar_bg1 {
    flex: 1;
}

.taoswin_title_h1 {
    margin: 0;
    font-size: 18px;
    color: #333;
    font-weight: bold;
}

.taoswin_bar_bg2 {
display: flex;
    align-items: center;
    gap: 20px;
    width: calc(100% - var(--note-left-menu-width) - 60px);
    padding: 0px 0px 0px 10px;
    box-sizing: border-box;
}

/* 相册整体布局 */
.pro_album {
display: flex;
    width: 100%;
    height: 100%;
    gap: 10px;
    padding: 5px;
    box-sizing: border-box;
}

/* 左侧分类栏 */
.proalbum_left {
    width: 250px;
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.proalbum_left h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 16px;
    font-weight: bold;
}

/* 分类列表 */
.album_categories,
.camera_categories {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
}

.album_category_item,
.camera_category_item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    border-radius: 4px;
    margin-bottom: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.album_category_item:hover,
.camera_category_item:hover {
    background-color: #e8e8e8;
}

/* 当前选中分类高亮 */
.album_category_item.active,
.camera_category_item.active {
    background-color: #e1bb2b;
    color: #fff;
}

.album_category_item.active .category_name,
.album_category_item.active .category_count,
.camera_category_item.active .category_name,
.camera_category_item.active .category_count {
    color: #fff;
}

.category_image {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.category_name {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.category_count {
    font-size: 12px;
    color: #999;
}

/* 右侧照片区域 */
.proalbum_right {
    flex: 1;
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 10px;
    box-sizing: border-box;
    overflow-y: auto;
    position: relative;
}

/* 照片容器 */
.pro_album_imgd {
display: inline-block;
    width: calc(20% - 6px);
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    position: relative;
    margin: 1px 1px 1px 1px;
}

.pro_album_imgd:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /** transform: translateY(-2px);**/
}

/* 照片 */
.pro_album_img {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
}

.pro_album_img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

/* 关闭按钮 */
.album_button_close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: none;
    z-index: 10;
    transition: all 0.3s ease;
}

.album_button_close:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* 照片详细信息 */
.album_img_single {
    display: none;
    width:400px;
    min-width: 200px;
    max-width: 400px;
    height: 100%;
    background-color: #fff;
    border-left: 1px solid #e8e8e8;
    box-sizing: border-box;
    overflow-y: auto;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 8;
}

.album_img_single h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 16px;
    font-weight: bold;
    min-height: 16px;
}

.album_img_single p {
    margin: 10px 0;
    font-size: 14px;
    color: #666;
}

.album_content {
    padding: 20px;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

/* 照片放大状态 */
.album_view_open {
        cursor: default;
width: 100% !important;
    height: 100%;
    z-index: 9;
    position: absolute;
    overflow: hidden;
    display: block;
    top: 0;
    left: 0;
}

.pro_album_img_open {
    width: calc(100% - 400px);
    height: 100%;
    padding-bottom: 0;
    position: relative;
}

.pro_album_img_open img {
   
        object-fit: cover;
         object-fit: contain;
}

.pro_album_img_open .album_button_close {
    display: block;
}

/* 响应式设计 */
@media screen and (max-width: 1200px) {
    .pro_album_imgd {
        width: calc(25% - 16px);
    }
}

@media screen and (max-width: 992px) {
    .pro_album_imgd {
        width: calc(33.333% - 16px);
    }
    
    .proalbum_left {
        width: 200px;
    }
}

@media screen and (max-width: 768px) {
    .pro_album_imgd {
        width: calc(50% - 16px);
    }
    
    .pro_album {
        flex-direction: column;
        height: auto;
    }
    
    .proalbum_left {
        width: 100%;
        height: 200px;
    }
    
    .proalbum_right {
        min-height: 500px;
    }
    
    .pro_album_img_open {
        width: calc(100% - 300px);
    }
    
    .album_img_single {
        max-width: 300px;
    }
}

@media screen and (max-width: 576px) {
    .pro_album_imgd {
        width: calc(100% - 16px);
    }
    
    .proalbum_left {
        height: 150px;
    }
    
    .pro_album_img_open {
        width: 100%;
    }
    
    .album_img_single {
        position: static;
        max-width: 100%;
        border-left: none;
        border-top: 1px solid #e8e8e8;
        height: auto;
        min-height: 200px;
    }
}


#main{    background-color: #e3e3e3;}
.overhide{overflow: hidden;width: 100%;height: 100%;}

/* 分页导航样式 */
.album_pagination {
margin-top: 30px;
    padding: 5px;
    background-color: #f9f9f9;
    border-radius: 8px;
    text-align: center;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
}
.album_pagination div {
    float: left;
}

.per_page_setting label {
	margin-right: 10px;
	font-weight: bold;
}

.per_page_setting select {
padding: 2px 2px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;

}



.pagination {
	list-style: none;
	padding: 0;
	margin: 0;
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
}

.pagination li {
	margin: 0 5px;
}

.pagination a,
.pagination span,
.page_jump button {
    display: block;
    padding: 4px 8px;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
    background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ededed));
    color: #717171;
    text-shadow: 0px 0px 0px #ffffff;
    border: 1px #cecece solid;
    box-shadow: 0px 1px 2px #dfdfdf;
    border-radius: 4px;
    font-size: 12px;
}



.pagination .current,.pagination a:hover,.page_jump button:hover {
    color: #fff;
    background: -webkit-gradient(linear, left top, left bottom, from(#7794ff), to(#4b7ae2)) !important;
    color: white;
    border: 1px #648dff solid;
    box-shadow: 0px 1px 2px #afafaf;
}



.page_jump label {
	margin-right: 10px;
	font-weight: bold;
}

.page_jump input {
    padding: 2px 0px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 40px;
    text-align: center;
}


.page_jump button {
    display: inline;    padding: 2px 12px;}


/* 点赞功能样式 */
.album_like {
	margin: 0;
    position: absolute;
    top: 13px;
    right: 20px;
}

.like-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	background-color: #f5f5f5;
	border: 1px solid #ddd;
	border-radius: 20px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 14px;
	font-weight: 500;
}

.like-button:hover {
	background-color: #e8e8e8;
	transform: translateY(-1px);
}

.like-button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.like-icon {
	font-size: 16px;
}

.like-icon .iconfont {
	font-size: 18px;
	transition: all 0.3s ease;
}

.like-icon .icon_zan {
	color: #ff4d4f;
	transform: scale(1.1);
}

.like-count {
	color: #666;
	font-weight: bold;
}
.icon_zan {
    color: #ff6464;
}
.bar_title {
    display: block;
}

.album_mess_con{position: sticky;
    top: 0;
    background-color: #ffffff;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 25px 20px 0px 20px;
    border-bottom: 1px #e4e4e4 solid;}