.hkdse-account-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
    margin-bottom: 0px;
}

.hkdse-account-nav ul li a {
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    color: #333;
    border: 1px solid #ccc;
    border-bottom: none;
    background-color: #f9f9f9;
    border-radius: 5px 5px 0 0;
}

.hkdse-account-nav ul li.active a {
    background-color: #2196F3;
    background: linear-gradient(45deg, #2196F3, #7277FF);
    border-bottom: 1px solid #fff;
    color: #ffffff;
    font-weight: bold;
}

.hkdse-account-content {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 0 0 8px 8px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
}

.hkdse-orders table {
    width: 100%;
    border-collapse: collapse;
}

.hkdse-orders table th,
.hkdse-orders table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}



/* 登录表单整体样式 */
.hkdse-login-form {
    width: 300px;
    margin: 100px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* 登录表单的 favicon 样式 */
.hkdse-login-favicon {
    margin-bottom: 20px;
}

.hkdse-login-favicon img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
}

/* 登录表单标题 */
.hkdse-login-form h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

/* 登录表单输入框 */
.hkdse-login-form input[type="text"],
.hkdse-login-form input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* 登录表单输入框焦点样式 */
.hkdse-login-form input[type="text"]:focus,
.hkdse-login-form input[type="password"]:focus {
    border-color: #54b1a9;
    outline: none;
}

/* 登录按钮 */
.hkdse-login-form input[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #001f7e;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* 登录按钮悬停样式 */
.hkdse-login-form input[type="submit"]:hover {
    background-color: #70cbc3;
}

.hkdse-forgot-password {
    display: block;
    margin-top: 10px;
    font-size: 0.9em;
    color: #0073aa; /* 你可以根据主题颜色调整 */
    text-decoration: none;
}

.hkdse-forgot-password:hover {
    text-decoration: underline;
}

.hkdse-login-form label {
    text-align: left;
    display: block;
}


/* 标题样式 */
.hkdse-account-content h2 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-align: left;
    margin-bottom: 20px;
}

/* 表格样式 */
.hkdse-orders table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
}

/* 表头样式 */
.hkdse-orders thead,.hkdse-order-detail thead{
    background-color: #2196F3;
    background: linear-gradient(45deg, #2196F3, #7277FF);
    border-bottom: 1px solid #fff;
    color: #ffffff;
    font-weight: bold;
}

.hkdse-orders thead tr:first-child th,.hkdse-order-detail thead tr:first-child th {
    background-color: transparent;
	border: 0;
}
.hkdse-orders thead th,.hkdse-order-detail thead th{
    padding: 12px 15px;
    font-size: 16px;
    font-weight: bold;
}

/* 表格主体样式 */
.hkdse-orders tbody tr {
    border-bottom: 1px solid #ddd;
}

.hkdse-orders tbody tr:last-child {
    border-bottom: none;
}

.hkdse-orders tbody td,.hkdse-order-detail tbody td{
    padding: 12px 15px;
    font-size: 14px;
    color: #333;
}

/* 状态样式 */
.hkdse-orders tbody td:nth-child(3) {
    font-weight: bold;
}

.hkdse-orders tbody td:nth-child(3).cancelled {
    color: #dc3545;
}

.hkdse-orders tbody td:nth-child(3).completed {
    color: #28a745;
}
@media(max-width:768px){
.hkdse-orders thead th, .hkdse-orders tbody td,.hkdse-order-detail thead th, .hkdse-order-detail tbody td {
    padding: 3px 8px;
}
}

/* 金额样式 */
.hkdse-orders .woocommerce-Price-amount {
    font-weight: bold;
    color: #20c997;
}

/* 操作链接样式 */
.hkdse-orders tbody td a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.hkdse-orders tbody td a:hover {
    text-decoration: underline;
}
.hkdse-order-detail table {
    width: 100%;
}
.hkdse-orders table th:nth-child(odd), .hkdse-orders table th:nth-child(even), .hkdse-orders table td:nth-child(odd), .hkdse-orders table td:nth-child(even) {
    background: #ffffff;
}

.hkdse-account-content tr:nth-child(even) td {
    background: transparent;
}

/* 表单样式 */
.hkdse-account-settings form {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 标签样式 */
.hkdse-account-settings label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #333;
}

/* 输入框样式 */
.hkdse-account-settings input[type="text"],
.hkdse-account-settings input[type="email"],
.hkdse-account-settings input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.hkdse-account-settings input[type="text"]:focus,
.hkdse-account-settings input[type="email"]:focus,
.hkdse-account-settings input[type="password"]:focus {
    border-color: #5391E4;
    outline: none;
    box-shadow: 0 0 0 2px #6BCD94;
}

/* 提交按钮样式 */
.hkdse-account-settings input[type="submit"] {
    font-family: 'Arial', sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 2px 15px;
    background: linear-gradient(45deg, #2196F3, #7277FF);
    border-radius: 8px;
    display: block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hkdse-account-settings input[type="submit"]:hover {
    background: linear-gradient(45deg, #7277FF, #2196F3);
}

/* 链接样式 */
.hkdse-account-settings a.logout-btn {
    display: inline-block;
    margin-top: 20px;
    font-size: 15px;
    padding: 3px 20px;
    background: linear-gradient(to right, #6c757d, #333);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
    box-shadow: 0 0 2px #fff;
}

.hkdse-account-settings a.logout-btn:hover {
    background: linear-gradient(to right, #212529, #134876);
    box-shadow: 0 0 2px #dc3545;
    outline: 2px solid #ccc;
}



.hkdse-ac-usertimes {
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    font-weight: normal;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0;
    padding: 5px 15px;
    background: linear-gradient(45deg, #2196F3, #7277FF);
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}



/* 加载动画的样式 */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative; /* 确保加载动画覆盖整个容器 */
}

.loading-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top-color: #2395F3;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-container p {
    margin-top: 10px;
    font-size: 16px;
    color: #666;
}
a.account-center-logout-btn {
    background: #b9b9b9;
    color: #fff;
    display: inline-block;
    padding: 3px 15px;
    border-radius: 8px;
    transition: .3s;
    letter-spacing: 1px;
}

a.account-center-logout-btn:hover {
    background: #d10505;
    outline: 1px solid #ffffff;
    box-shadow: 0 0 8px #525252;
}

.hkdse-account-nav {
    margin-top: 15px;
}