
.password-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 696px;
}

/* 密码显示框 */
.password-display {
    width: 100%;
    /*max-width: 696px;*/
    max-height: 200px;
    padding: 1.2rem;
    border: 2px solid #e0e6ed;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 2px;
    background-color: #f8fafc;
    color: #2c3e50;
    margin-bottom: 1.8rem;
    word-break: break-all;
}

/* 设置区域 */
.settings-group {
    width: 100%;
    margin-bottom: 1.8rem;
}

.setting-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.setting-label {
    width: 140px;
    min-width: 140px;
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

/* 长度输入框 */
#passwordLength {
    width: 100px;
    padding: 0.7rem 1rem;
    border: 2px solid #e0e6ed;
    border-radius: 8px;
    font-size: 1rem;
    text-align: center;
    outline: none;
    transition: all 0.2s ease;
}

#passwordLength:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* 复选框样式 */
.checkbox-item {
    display: flex;
    align-items: center;
    margin-right: 1.5rem;
    margin-bottom: 0.5rem;
}

.checkbox-item input {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    cursor: pointer;
}

.checkbox-item > input[type="checkbox" i] {
    -webkit-appearance: auto;
    appearance: auto;
}

.checkbox-item label {
    font-size: 0.95rem;
    cursor: pointer;
    user-select: none;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
}

/* 按钮组 */
.btn-group {
    display: flex;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.action-btn {
    padding: 0.9rem 2.2rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.25s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    margin: 0 0.6rem 1rem 0.6rem;
}

#generateBtn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

#generateBtn:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f618d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}

#copyBtn {
    background: linear-gradient(135deg, #27ae60 0%, #219653 100%);
    color: white;
}

#copyBtn:hover {
    background: linear-gradient(135deg, #219653 0%, #1e874b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}

/* 移动端适配 */
@media (max-width: 768px) {

    .btn-group {
        flex-direction: column;
        align-items: center;
    }

    .action-btn {
        width: 80%;
        margin: 0 0 1rem 0;
    }

    .setting-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .setting-label {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .password-display {
        font-size: 1rem;
        padding: 1rem;
    }
}
