@import url(ui.css);
@import url(iconfont.css);
@import url(swiper.min.css);
@import url(pc.css);
@import url(cart.css);

@media screen and (max-width: 768px) {
	.wrapper{ padding: 0; }
	.header{ height: 60px; padding: 0 15px; }
	.nav{ display: none; }
	.lx{ display: none; }
	.header-right a{ background:none; width: 40px;  }
	.header-right a:nth-child(1),.header-right a:nth-child(2){ display: none; }
	.header-right a:nth-child(4){ display: inline-block; }
	.header-right a:nth-child(4) i{ font-size: 30px; }

	.in-sm{ padding: 30px 0; flex-wrap: wrap; }
	.in-sm .text{ flex:100%; padding: 30px; }
	.in-sm .text h2{ font-size: 30px; margin-bottom: 40px;}
	.in-sm .pic{ flex:100%; padding: 0 15px; margin-left: 0; margin-top: 20px;  }
    .in-sm .pic .btns{ margin-top: 10px; }


    .in-pro{ padding: 20px; }
	.in-pro li .text { line-height: 80px; font-size: 24px; }

	.fukuan{ padding: 20px; }
	.fukuan h2{ font-size: 24px; }
	.fukuan p{ font-size: 16px; }

	.footer{ padding: 20px; }
	.footer-con{ flex-wrap: wrap; margin-bottom: 25px;  font-size: 18px; }
	.footer-con .map{ flex:100%;  }
	.footer-con .address{ flex:100%; padding-top: 20px; margin-left: 0;  }
	.footer-con .lxfs{ flex:100%; padding-top: 0; margin-bottom: 30px; margin-left: 0; order: -100}

	.copyright{ flex-wrap: wrap; font-size: 18px; }
	.copyright p{ flex:100%;justify-content: center; margin-bottom: 10px; }

	.contact{ padding: 20px; }
	.contact-left .formgroup{ flex-wrap: wrap; margin-bottom: 0; }
	.contact-left .formgroup .label{ flex:100%; margin-right: 0; margin-bottom: 20px; }

	.banner-sub2{ padding: 0; }
	.sortname{  padding: 20px 0; font-size: 24px; }
	.sortdesc{ padding: 0 20px; font-size: 14px; padding-bottom: 20px; }

	.list-1{ padding:0 20px; }
	.list-1 li .text { line-height: 80px; font-size: 24px; }

	.ct{ flex-wrap: wrap; padding: 20px 0; }
	.ct-sd{ display: none; }
	.ct-mn{ flex: 100%; padding: 0 15px; }

	.list-2{ margin:0 0 0 -16px; }
	.list-2 li{ width: 50%; }

	.crumbs{  flex-wrap: wrap; padding:20px 15px; }
	.crumbs p{ flex: 100%; order: 100 ; margin-top: 20px;}
	.crumbs form{ flex: 100%;  }

	.show-pro{ flex-wrap: wrap; padding: 0 15px 15px; }
	.show-pro .pic{ flex:100%; margin-right: 0;  }
	.show-pro .text{ flex:100%; }
	.show-pro .text .fkfs{ flex-wrap: wrap; }
	.show-pro .text .fkfs .txt{ flex:100%; }
	.show-pro .text .fkfs .share{  flex:100%; margin-top: 20px;}

	.message{  padding: 25px 10px; }
.message h2{ font-size: 24px;margin-bottom: 30px;  }
.message .formgroup{ flex-wrap: wrap; }
.message .formgroup-left{ flex:100%; flex-wrap: wrap; margin-bottom: 20px;  }
.message .formgroup-left label{ flex:100%;  font-size: 16px; text-align: left; margin-bottom: 8px;}
.message .formgroup-right{ flex:100%; flex-wrap: wrap; }
.message .formgroup-right label{ flex:100%;  font-size: 16px; text-align: left; margin-bottom: 8px; }
.message .formgroup-right .label{ display: flex; font-size: 16px; }
.message .formgroup-right2{ flex:100%; flex-wrap: wrap; }
.message .formgroup-right2 label{ flex:100%;  font-size: 16px;  text-align: left; margin-bottom: 8px;}
.message .formgroup2{ flex:100%; flex-wrap: wrap; }
.message .formgroup2 label{ flex:100%;  font-size: 16px; text-align: left; margin-bottom: 8px; }
.message .formgroup3{ display: flex; flex-wrap: wrap; margin-bottom: 0; }
.message .formgroup3 label{ flex:100%;  font-size: 16px; text-align: left; margin-bottom: 8px;}
.message .formgroup3 .label{ flex:100%; }

.message button{ width: 66px; line-height: 44px; background: #a1d8e3; border-radius: 8px; font-size: 18px; border: none; float: right; }

}








.checkout-container {
    display: flex;
    padding: 20px 0;
    gap: 30px;
}

.checkout-main {
    flex: 2;
}

.checkout-sidebar {
    flex: 1;
}

.breadcrumbs {
    color: #888;
    margin-bottom: 20px;
}

.checkout-main h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

/* New styles for checkout items */
#checkout-items {
    border-radius: 8px;
    padding: 0 15px;
    background-color: #fdfdfd;
}

.checkout-product-card {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.checkout-product-card:last-child {
    border-bottom: none;
}

.checkout-product-card:hover {
    background-color: #f9f9f9;
}

.product-image {
    margin-right: 20px;
}

.product-image img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #eee;
}

.product-details {
    flex: 2;
    margin-right: 20px;
}

.product-title {
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.product-price-single {
    font-size: 0.9em;
    color: #777;
}

.product-quantity {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #555;
}

.quantity-btn {
    border: 1px solid #ddd;
    background-color: #f7f7f7;
    color: #555;
    cursor: pointer;
    font-size: 1.2em;
    width: 30px;
    height: 30px;
    line-height: 28px;
    text-align: center;
    border-radius: 50%;
    transition: background-color 0.2s, color 0.2s;
}

.quantity-btn:hover {
    background-color: #eee;
    color: #000;
}

.quantity-value {
    margin: 0 15px;
    font-weight: bold;
    font-size: 1.1em;
}

.product-line-price {
    flex: 1;
    font-weight: bold;
    text-align: right;
    font-size: 1.1em;
}

.product-removal {
    flex: 0 0 80px;
    /* Do not grow, do not shrink, base width 80px */
    text-align: right;
    padding-left: 20px;
}

.remove-product {
    font-size: 0.9em;
    color: #e74c3c;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s ease;
}

.remove-product:hover {
    color: #c0392b;
    text-decoration: underline;
}

/* New styles for cash tips section */
.cash-tips {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.cash-tips .cash h3 {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.cash-tips .cash p,
.cash-tips .fkfs .txt p {
    font-size: 1.05em;
    line-height: 1.8;
    color: #555;
}

.cash-tips .fkfs {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cash-tips .fkfs .share a {
    margin-left: 10px;
    font-size: 1.5em;
    color: #888;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cash-tips .fkfs .share a:hover {
    color: #333;
}

.summary-box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary-item.total {
    font-size: 1.2em;
    font-weight: bold;
}

.summary-box hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 20px 0;
}

/* New styles for user remark section */
.user-remark-section {
    margin: 20px 0;
}

.user-remark-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.user-remark-section textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    min-height: 80px;
    font-size: 1em;
    line-height: 1.5;
}

/* New styles for upload section */
.upload-section {
    margin: 20px 0;
}

.upload-label {
    display: block;
    padding: 12px;
    background-color: #f0f0f0;
    border: 2px dashed #ccc;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    color: #555;
    transition: background-color 0.2s, border-color 0.2s;
}

.upload-label:hover {
    background-color: #e9e9e9;
    border-color: #aaa;
}

.upload-label .iconfont {
    margin-right: 8px;
    font-size: 1.2em;
}

#preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.preview-item {
    position: relative;
    width: 80px;
    height: 80px;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.remove-preview {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.actions {
    text-align: center;
}

.login-link {
    display: block;
    background: #a1d8e3;
    color: #fff;
    padding: 12px;
    text-decoration: none;
    border-radius: 5px;
    margin-bottom: 10px;
}

.or-separator {
    color: #aaa;
    margin: 10px 0;
}

.continue-shopping {
    color: #888;
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .checkout-container {
        flex-direction: column;
    }
}

/* Member Center Styles */
body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.ucenter-container {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    align-items: flex-start;
}
.ucenter-nav {
    width: 250px;
    flex-shrink: 0;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
}
.ucenter-nav .nav-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px;
    border-bottom: 1px solid #e9ecef;
    text-align: center;
}
.ucenter-nav .nav-title img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid #e9ecef;
}
.ucenter-nav .nav-title span {
    font-weight: 600;
    color: #343a40;
    font-size: 1rem;
}
.ucenter-nav ul {
    list-style: none;
    padding: 10px 0;
    margin: 0;
}
.ucenter-nav ul li a {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    text-decoration: none;
    color: #495057;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    border-left: 3px solid transparent;
}
.ucenter-nav ul li a .nav-icon {
    margin-right: 15px;
    width: 20px;
    text-align: center;
    color: #888;
}
.ucenter-nav ul li a:hover {
    background-color: #f8f9fa;
    color: #007bff;
}
 .ucenter-nav ul li a:hover .nav-icon {
    color: #007bff;
}
.ucenter-nav ul li.active a {
    background-color: #e9f5ff;
    color: #007bff;
    border-left-color: #007bff;
}
.ucenter-nav ul li.active a .nav-icon {
    color: #007bff;
}
.ucenter-content {
    flex-grow: 1;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 15px 20px;
    
}
.ucenter-content .content-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #343a40;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

/* ucenter.html specific */
.info-list {
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
}
.info-list .info-item {
    display: flex;
    padding: 18px 0;
    border-bottom: 1px solid #f1f3f5;
    align-items: center;
}
.info-list .info-item:last-child {
    border-bottom: none;
}
.info-list .info-label {
    width: 150px;
    flex-shrink: 0;
    color: #6c757d;
    font-weight: 500;
}
.info-list .info-value {
    color: #343a40;
}
.info-list .info-value img {
    max-width: 40px;
    border-radius: 5px;
    vertical-align: middle;
}

/* umodify.html specific */
.form-list {
    margin: 0;
    padding: 0;
}
.form-list .form-item {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #f1f3f5;
    align-items: center;
}
.form-list .form-item:last-child {
    border-bottom: none;
}
.form-list .form-label {
    width: 150px;
    flex-shrink: 0;
    color: #6c757d;
    font-weight: 500;
}
.form-list .form-value {
    color: #343a40;
    flex-grow: 1;
}
.form-list .form-value input[type="text"],
.form-list .form-value input[type="password"] {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.form-list .form-value input:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(0,123,255,.25);
}
.form-list .form-value .username-display {
    font-weight: 600;
}
.btn-upload {
    padding: 8px 16px;
    background-color: #28a745;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

/* courses.html specific */
.course-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}
.course-list .course-item {
    display: flex;
    flex-direction: column;
    border: 1px solid #f1f3f5;
    border-radius: 8px;
    transition: box-shadow 0.3s, transform 0.3s;
    background-color: #fff;
    overflow: hidden; /* To keep image corners rounded */
}
.course-list .course-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px
 16px rgba(0,0,0,0.08);
}
.course-list .course-item .course-ico {
    width: 100%;
    height: 160px;
    object-fit: cover;
}
.course-list .course-item .course-info {
    display: flex;
    align-items: center;
    padding: 20px;
    flex-grow: 1;
}
.course-list .course-item .course-title {
    flex-grow: 1;
    font-size: 1rem;
    font-weight: 600;
    color: #343a40;
}
.course-list .course-item .course-actions .btn-play {
    display: inline-block;
    padding: 8px 18px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.2s;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}
.course-list .course-item .course-actions .btn-play:hover {
    background-color: #0056b3;
    color: white;
}

/* Course Modal */
#course-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    z-index: 1050;
    display: none; 
    justify-content: center;
    align-items: center;
}
#course-modal .modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #000;
}
#course-modal iframe {
    width: 100%;
    height: 100%;
    border: none;
}
#course-modal .modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1051;
    transition: color 0.3s;
}
     #course-modal .modal-close:hover {
        color: #ccc;
    }

/* Common buttons */
.btn-modern {
    display: inline-block;
    padding: 12px 24px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    margin-top: 25px;
    box-shadow: 0 2px 4px rgba(0,123,255,0.2);
}
.btn-modern:hover {
    background-color: #0056b3;
    color: white;
    box-shadow: 0 4px 8px rgba(0,123,255,0.3);
}
.btn-secondary {
    background-color: #6c757d;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.btn-secondary:hover {
    background-color: #5a6268;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* start.html specific */
.start-container {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.start-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}
.start-content {
    padding: 20px;
    border: 1px solid #e9ecef;
    min-height: 400px;
    border-radius: 5px;
    line-height: 1.6;
}

/* Responsive */
@media screen and (max-width: 992px) {
    .ucenter-container {
        flex-direction: column;
    }
    .ucenter-content {
        width: 100%;
    }
    .ucenter-nav {
        width: 100%;
    }
    .ucenter-nav ul {
        display: flex;
    }
    .ucenter-nav ul li {
        flex: 1;
        text-align: center;
    }
    .ucenter-nav ul li a {
        border-left: none;
        border-bottom: 3px solid transparent;
        justify-content: center;
        padding-left: 5px;
        padding-right: 5px;
    }
    .ucenter-nav ul li.active a {
        border-left: none;
        border-bottom-color: #007bff;
    }
}








