body {
    margin: 0;
    padding: 0;
    font-family: "Noto Sans SC", "Source Sans Pro", Helvetica, Arial, sans-serif;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    color: #333;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.logo {
    margin-left: 20px;
}

.logo img {
    vertical-align: middle;
}

.no-wrap {
  white-space: nowrap;
}


.right-container {
    display: flex;
    align-items: center;
    margin-right: 20px;
    white-space: nowrap;
}


.search-container {
    position: relative;
    margin-right: 10px;
}



.search-input {
    width: 260px;
    height: 36px;
    border: 1px solid #a0c3ff;
    border-radius: 20px;
    padding: 0 20px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color 0.2s ease-in-out;
}

.search-input:focus {
    border-color: #007bff;
}

.search-container .dropdown {
    display:none;
    position: absolute;
    top: 105%;
    left: 0;
    border-top: none;
    border-radius: 4px;
    width: 100%;
    line-height: 2;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    background-color:  #f9f9f9;
    padding: 10px 1px;
    max-height: calc(100vh - 130px); 
    overflow-x: hidden;
}

.search-container .dropdown a {
    display:block;
    width: 100%;
    text-align: left;
    padding-left: 22px;
    text-decoration: none;
    color: #333;
    line-height: 2.5;
    font-size: 16px;
}

.search-container .dropdown a img {
    margin-right: 5px;
    height: 20px;
    vertical-align: middle;
}

.search-container .dropdown a span {
    vertical-align: middle;
    font-size: 14px;
}

.search-container .dropdown a:hover {
    font-weight: bold;
}

.privilege {
    margin-left: 10px;
    margin-right: 10px;
    text-decoration: none;
    background-image: url("/img/svg/privilege.svg");
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 25px;
    color: inherit;
}

.language-container {
    border-radius: 4px;
    background-image: url("/img/svg/language.svg");
    background-repeat: no-repeat;
    background-position: left center;
    padding: 4px 4px 4px 25px;
    position: relative;
    margin: 20px 10px;
}

.language-container a {
    color: inherit;
    text-decoration: none;
}

.language-container .dropdown {
    display:none;
    position: absolute;
    top: 100%; left: 0;
    background-color: #f2f2f2;
    border-radius: 4px;
    width: 100%;
    line-height: 2;
}

.language-container .dropdown a {
    display:block;
    width: 100%;
    text-align: center;
}

.language-container .dropdown a:hover {
    font-weight: bold;
}


.login {
    margin-left: 10px;
    color: #fff;
    background-color: blue;
    border-radius: 20px;
    padding: 10px 30px;
    font-weight: bold;
    text-decoration: none;
}

.login-avatar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    padding-left: 10px;
    padding-right: 5px;
    position: relative;
  }

.login-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
  }

.login-avatar .account-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 230px);
    right: 0;
    transform: translateY(-100%);
    background-color: #f2f2f2;
    border-radius: 8px;
    padding: 15px;
    padding-bottom: 0px;
    z-index: 1;
}

.login-avatar .account-show::before {
    content: "";
    position: absolute;
    top: -20px;
    right: 19px;
    transform: none;
    border: 10px solid transparent;
    border-bottom-color: #f2f2f2;
}

.login-avatar .account-show {
    display: block;
  }

.login-avatar .account-show a {
  color: #000000; 
  text-decoration: none; 
}

.login-avatar .account-show a:hover {
  font-weight: bold;
}

.login-avatar .account-show .renew-vip, .login-avatar .account-show .upgrade-to-vip {
    background-color: #F9A632;
    border-radius: 4px;
    margin-top: 10px;
    font-size: 13px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 32px;
}

.login-avatar .account-show .renew-vip a, .login-avatar .account-show .upgrade-to-vip a {
    color: #fff;
}

.login-avatar .account-show .account {
    background-image: url("/img/svg/account.svg");
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 30px;
    margin-left: 5px;
}

.login-avatar .account-show .logout {
    background-image: url("/img/svg/logout.svg");
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 30px;
    margin-left: 5px;
}

.content {
    margin-top: 80px;
    display: flex;
    flex-wrap: nowrap;
    height: calc(100vh - 80px);
}
.left {
    width: 200px;
    background-color: #fff;
    position: fixed;
    left: 0;
    top: 80px;
    bottom: 0;
    overflow-y: auto;
}
.navigation {
    list-style: none;
    padding: 25px;
    margin: 20px 0;
}

.navigation li {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 500;
}

.navigation li.active {
    background-color: #eee;
}

.navigation li:hover {
    background-color: #eee;
    border-color: #09f;
}

.navigation li a {
    display: flex;
    align-items: center;
    color: #333;
    text-decoration: none;
}

.navigation li a img {
    width: 20px;
    height: 20px;
    margin-right: 16px;
}

.navigation li.active a {
    color: #417ff9;
}

.navigation li.active::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 100%;
    margin-right: 10px;
    background-color: #ccc;
    border-radius: 5px 0 0 5px;
}

.navigation li::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 100%;
    margin-right: 10px;
    background-color: transparent;
    border-radius: 0;
}

.right {
    flex-grow: 1;
    background-color: #f9f9f9;
    margin-left: 200px;
    padding: 10px 30px;
    overflow-y: auto;
}

/*pricing start*/
.pricing-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

h1 {
    margin-bottom: 20px;
}

.type-selection {
    display: flex;
    margin-bottom: 10px;
}

.type-button {
    background-color: transparent;
    border: none;
    color: black;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 5px;
    cursor: pointer;
    position: relative;
}

.type-button a {
    color: inherit;
    text-decoration: none;
}

.type-button:hover,
.type-button.active {
    color: #5081f1;
}

.type-button::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 50%;
    height: 2px;
    background-color: #4f81f1;
    transform: translateX(-50%);
    opacity: 0;
}

.type-button:hover::after,
.type-button.active::after {
    opacity: 1;
}

.plan-selection {
    display: flex;
    justify-content: center;
    margin-top: 16px;
    margin-bottom: 25px;
}

.plan-buttons-container {
    background-color: #f0f0f0;
    border-radius: 25px;
    display: inline-flex;
    padding: 5px;
}

.plan-button {
    background-color: transparent;
    border: none;
    border-radius: 20px;
    color: #333;
    cursor: pointer;
    font-size: 16px;
    margin: 0 8px;
    padding: 8px 66px;
    transition: all 0.3s ease;
}

.plan-button:hover,
.plan-button.active {
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: forestgreen;
}

.plan-button:hover::after,
.plan-button.active::after {
    opacity: 1;
}


.pricing-options > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.pricing-option {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    margin: 10px;
    width: 236px;
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pricing-option button {
    width: 180px;
    font-size: 16px;
}

.pricing-option:nth-of-type(1) {
    border: 5px solid #d4a96b;
    background-color: #fff;
}

.pricing-option h3,
.pricing-option p {
    text-align: center;
    line-height: 0.5;
}

.buy-button {
    background-color: #fff;
    border: 1px solid #4471e3;
    color: #4471e3;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 5px;
    cursor: pointer;
    border-radius: 3px;
}

.gold-buy-button {
    background-color: #d4a96b;
    color: #fff;
    border: none;
    padding: 10px 20px;
    text-align: center;
    font-size: 16px;
    margin: 5px;
    cursor: pointer;
    border-radius: 3px;
}

.pricing-option ul {
    list-style-type: none;
    padding: 0;
}

.pricing-option li {
    font-size: 14px;
    display: flex;
    align-items: center;
    margin-top: 5px;
    line-height: 2;
}

.pricing-option li::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 8px;
    background-image: url(/img/svg/tick-mark.svg);
    background-repeat: no-repeat;
    background-size: contain;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    font-size: 14px;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.modal-header {
    padding: 8px;
}

.modal-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    border-radius: 12px;
    background-color: #f0f0f0;
    padding: 20px;
}

#modal-plans {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.modal-plan-option {
    background-color: #f0f0f0;
    border-radius: 10px;
    cursor: pointer;
    flex-basis: calc(25.33% - 1px);
    margin-bottom: 10px;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #ccc;
    height: 50px;
}

.modal-plan-option h3 {
    margin: 0;
    font-weight: normal;
    font-size: 14px;
}

.modal-plan-option .checkmark {
    display: inline-block;
    border: 2px solid #4CAF50;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    position: relative;
    box-sizing: border-box;
    margin-right: 10px;
    vertical-align: middle;
    background-color: transparent;
}

.modal-plan-option .checkmark:after {
    content: '';
    position: absolute;
    display: none;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.modal-plan-option.active .checkmark:after {
    display: block;
}

.modal-plan-option.active .checkmark {
    background-color: #4CAF50;
    border-color: #4CAF50;
}


.selected-plan {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.selected-plan p {
    display: inline-block;
    margin: 0;
}

#selected-package span, #selected-price {
    font-weight: bold;
}

.coupon {
    display: flex;
    padding: 0 10px;
}

.coupon-text {
    margin-right: 10px;
}

.coupon-amount {
    margin-left: auto;
    color: #ca4e34;
}

.coupon-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-y: auto;
}

.coupon-details {
    flex: 0 0 180px;
    margin: 10px;
    border: 1px solid #ca4e34;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    position: relative;
}

.coupon-amount-box {
    padding: 0 16px;
    background: #ca4e34;
}

.coupon-amount-price {
    color: #ffffff;
}

.coupon-expiry {
    color: #efb5a7;
    font-size: 12px;
}

.coupon-applicable {
    padding: 0 16px;
    color: #efad9d;
    background: #fff;
    font-size: 12px;
    line-height: 28px;
}

.coupon-checkmark {
    position: absolute;
    right: 0;
    bottom: 0;
    display: none;
}

.close {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 18px;
    color: #aaaaaa;
    cursor: pointer;
    z-index: 1;
}
/* Modal styles */

.payment-container {
    display: flex;
    margin-top: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #ffffff;
    overflow: hidden;
}

.payment-options {
    display: flex;
    flex-direction: column;
    background: #f5f5f5;
    width: 30%;
    align-items: stretch;
}

.payment-option {
    cursor: pointer;
    padding: 10px;
    flex: 1;
    display: flex;
    align-items: center;
    line-height: 36px;
    border: 1px solid #e5e5e5;
    border-left: none;
    border-top: none;
}

.payment-option img {
    margin-left: 22px;
    margin-right: 8px;
}

.payment-option.active {
    background-color: #ffffff;
    border-right: none;
}

.payment-option:hover {
    background-color: #ffffff;
    border-right: none;
}

.payment-details {
    display: flex;
    flex-direction: column;
    width: 70%;
    padding-left: 20px;
}

.payment-detail {
    display: none;
    text-align: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.payment-detail.active {
    display: flex;
}

#alipay-payment-detail img {
    max-width: 150px;
    height: auto;
    margin-top: 28px;
    margin-bottom: 10px;
}

.payment-qrcode {
    max-width: 168px;
    height: auto;
    margin-top: 20px;
}

.payment-amount {
    margin-top: -3px;
    font-size: 14px;
}

/*paypal style*/

.paypal-payment-container {
    text-align: center;
    padding-top: 58px;
    padding-left: 20px;
    padding-right: 20px;
    max-width: 400px;
}

.payment-amount span {
    font-weight: bold;
    color: #003087; /* PayPal blue */
}

.paypal-pay-now-button {
    display: inline-flex;
    align-items: center;
    background: #FFC439; /* PayPal yellow */
    color: #000;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 15px;
    transition: background 0.3s;
}

.paypal-pay-now-button:hover {
    background: #F2BB3A;
}

.paypal-pay-now-button img {
    height: 20px;
    margin-right: 10px;
}

.paypal-payment-note {
    font-size: 12px;
    color: #666;
}

/*pricing end*/

@media (max-width: 600px) {
  .privilege {
    display: none;
  }
  .language-container {
    display: none;
  }    

  .search-input {
    width: 130px;  
  }
}

@media (max-width: 768px) {
  .search-input {
    width: 130px;  
  }
}