/* Main Content Container */
.main-content-account {
    width: 100%;
    padding: 0.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* Account Deletion Page Styles */
.account-deletion-main {
    padding: 1rem 2rem;
}

.account-deletion-section {
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 0.3rem;
    box-sizing: border-box;
}

.account-deletion-container {
    width:100%;
    margin: 0 auto;
    display: flex;
    gap: 0.4rem;
    align-items: flex-start;
    justify-content: space-around;
    box-sizing: border-box;
}

/* 左侧：账户删除说明 */
.account-deletion-left {
    flex: 1;
    /* padding:0.5rem 0rem 0.5rem 1.5rem; */
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 0.2rem;
    box-sizing: border-box;
}

.deletion-title {
    font-size: 0.4rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 0.2rem;
    font-family: 'Adobe Heiti Std';
    line-height: 1.4;
}

.deletion-data-list {
    margin-top: 0.5rem;
}

.deletion-subtitle {
    font-size: 0.22rem;
    color: #333;
    margin-bottom: 0.15rem;
    margin: 0;
    line-height: 1.5;
    /* font-weight: 500; */
}

.deletion-list {
    list-style: none;
    padding: 0;
    margin: 0;
    /* padding-left: 0.2rem; */
}

.deletion-list li {
    font-size: 0.22rem;
    color: #333;
    line-height: 1.8;
    position: relative;
    padding-left: 0.15rem;
}

.deletion-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #558cf6;
}

.deletion-warning {
    display: flex;
    align-items: flex-start;
    gap: 0.1rem;
    border-radius: 0.05rem;
}

.warning-text {
    font-size: 0.22rem;
    color: #333;
    line-height: 1.5;
}

/* 右侧：取消账户表单 */
.account-deletion-right {
    flex: 0 0 45%;
    width: auto;
    height: auto;
    padding: 0rem;
    box-sizing: border-box;
}

.dialog-right {
    flex: 0 0 45%;
    width: auto;
    height: auto;
    padding: 0;
    box-sizing: border-box;
}

/* Cancel Account Modal Styles */
  .cancel-account-modal {
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
    padding: 0;
    overflow: hidden;
    background: #f9f8fd;
  }

  /* 内联显示的弹窗（不再是 overlay） */
  .account-modal-inline {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: block !important; /* 确保在 account.html 页面中显示 */
  }

  .cancel-account-modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
  }

  .cancel-account-modal .modal-title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .cancel-account-modal .modal-logo {
    width: 32px;
    height: 32px;
    background: #252224;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    border-radius: 4px;
  }
  .cancel-account-modal .modal-logo img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
  }

  .cancel-account-modal h1 {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    color: #000;
    line-height: 1.2;
    text-align: left;
  }

  .cancel-account-modal .modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }

  .cancel-account-modal .modal-close:hover {
    color: #000;
  }

  .cancel-account-form {
    padding: 5px 24px 10px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .cancel-account-form .phone-fieldset {
    margin-bottom: 20px;
    position: relative;
  }

  .cancel-account-form .error {
    /* display: block; */
    color: #ff0000;
    font-size: 12px;
    margin-top: 8px;
  }
  
  /* .cancel-account-form .phone-fieldset .error.show {
    display: block !important;  
  } */

  .cancel-account-form .phone-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #9B7EDE;
    border-radius: 12px;
    background: #fff;
    padding: 0;
    position: relative;
    width: 80%;
    margin-bottom: 0.2rem;
  }

  .cancel-account-form .country-code-section {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    cursor: pointer;
  }

  .cancel-account-form .country-flag {
    font-size: 20px;
    line-height: 1;
    padding-top: 5px;
  }
  .cancel-account-form .country-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .cancel-account-form .country-code {
    font-size: 14px;
    color: #000;
    font-weight: 500;
  }

  .cancel-account-form .phone-separator {
    width: 1px;
    height: 24px;
    background: #d0d0d0;
    margin: 0 8px;
  }

  .cancel-account-form .phone-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 16px 12px 8px;
    font-size: 14px;
    background: transparent;
    color: #000;
    min-width: 0;
  }

  .cancel-account-form .phone-input::placeholder {
    color: #999;
  }

  .cancel-account-form .otp-button {
    background: transparent;
    border: none;
    color: #9B7EDE;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 20px;
    cursor: pointer;
    /* border-left: 1px solid #d0d0d0; */
    transition: color 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .cancel-account-form .otp-button:hover {
    color: #7B5DBE;
  }

  .cancel-account-form .otp-fieldset {
    margin-bottom: 24px;
    position: relative;
    width: 80%;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
  }

  .cancel-account-form .otp-fieldset .error {
    display: none;
  }

  .cancel-account-form .otp-input {
    border: 1px solid #d0d0d0;
    /* border-radius: 8px; */
    background: #fff;
    padding: 12px 16px;
    font-size: 14px;
  }

  .cancel-account-form .otp-input::placeholder {
    color: #999;
  }

  .cancel-account-form .otp-input:focus {
    border-color: #9B7EDE;
    outline: none;
  }

  .cancel-account-form .confirm-button {
    width: 300px;
    height: 48px;
    line-height: 48px;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 5px;
    transition: background 0.2s;
    /* padding: 12px 20px; */

  }

  .cancel-account-form .confirm-button:hover {
    background: #333333;
  }

  .cancel-account-form .disclaimer-text {
    color: #ff0000;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
    text-align: left;
    padding-top: 8px;
  }

  .cancel-account-form .fieldset:last-of-type {
    margin-bottom: 0;
  }

/* .purple-block-text {
    font-size: 0.18rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 0.3rem;
    text-align: right;
} */

.purple-block-text{
    /* width: 50%;
    height: 100%; */
    box-sizing: border-box;
    margin-top: 0.2rem;
    margin-left: 4.5rem;
    margin-bottom: 0.05rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.purple-block-text-left{
    width: 3rem;
    font-size: 0.23rem;
    font-weight: 400;
    font-family: 'Adobe Heiti Std';
    color: #fff;
    line-height: 0.3rem;
    margin-bottom: 0.1rem;
    text-align: left;
}

.purple-block-text-img{
    width: 100%;
    height: 2rem;
    /* background: #fff; */
    border-radius: 0.3rem;
    margin-bottom: -0.2rem;
}

.purple-block-right {
    /* flex: 1; */
    padding-left: 0.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    box-sizing: border-box;
}

.purple-block-right .section-label {
    font-size: 0.4rem;
    color: #000000;
    display: block;
    font-family: 'Adobe Heiti Std';
    /* margin-bottom: 0.1rem; */
}

.purple-block-right .section-title {
    font-size: 0.6rem;
    font-family: 'Adobe Heiti Std';
    /* font-weight: bold; */
    color: #000000;
    /* margin-bottom: 0.2rem; */
    line-height: 1;
}

.purple-block-right .section-text {
    font-size: 0.18rem;
    color: #000000;
}

.purple-block-right .section-text p {
    margin: 0;
    padding: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .banner-container {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .account-deletion-container {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .account-deletion-left {
        padding-right: 0;
        margin-bottom: 0.3rem;
    }
    
    .account-deletion-right {
        flex: 1;
        width: 100%;
    }
    
    .purple-block-container {
        flex-direction: column;
    }
    
    .two-blocks-container {
        flex-direction: column;
    }
    
    .bottom-three-blocks {
        flex-direction: column;
    }
    
    .four-blocks-grid {
        grid-template-columns: 1fr;
    }
}

